/* =========================================================
   EUROPA BUS — globalni stilovi
   ========================================================= */

:root {
  --navy-900: #0f1622;
  --navy-800: #151d2b;
  --navy-700: #1d2738;
  --navy-600: #2a3548;
  --red-600: #d7262b;
  --red-700: #b81d22;
  --red-50: #fdecec;
  --ink: #141a24;
  --ink-soft: #4a5466;
  --muted: #6b7587;
  --line: #e3e7ee;
  --bg: #f3f5f9;
  --white: #ffffff;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 22, 34, .06), 0 2px 8px rgba(15, 22, 34, .05);
  --shadow: 0 10px 30px rgba(15, 22, 34, .10), 0 2px 6px rgba(15, 22, 34, .05);
  --shadow-lg: 0 24px 60px rgba(15, 22, 34, .18);

  --container: 1560px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: clamp(64px, 6vw, 77px);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute; 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: 16px; top: -60px; z-index: 200;
  background: var(--red-600); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid rgba(215, 38, 43, .55); outline-offset: 2px; }

.icon { width: 20px; height: 20px; flex: none; }
img.icon { object-fit: contain; }

/* ---------- Dugmad ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  font-weight: 700; font-size: 16px; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red-600); color: #fff; box-shadow: 0 8px 20px rgba(215, 38, 43, .35); }
.btn--primary:hover { background: var(--red-700); }
.btn--ghost { border-color: rgba(255, 255, 255, .75); color: #fff; background: rgba(255, 255, 255, .04); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); height: 46px; padding: 0 24px; font-size: 15px; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn .icon { width: 20px; height: 20px; }

/* ---------- Logo ---------- */
.logo {
  position: relative; display: inline-flex; flex-direction: column; align-items: center;
  color: #fff; line-height: 1;
}
.logo__stars { width: clamp(42px, 4vw, 51px); height: clamp(14px, 1.35vw, 17px); margin-bottom: 1px; margin-left: 10%; }
.logo__text {
  font-weight: 900; font-style: italic; font-size: clamp(24px, 2.55vw, 33px); letter-spacing: -.02em; white-space: nowrap;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: #fff;
  background: #171d29;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: box-shadow .3s;
}
.site-header.is-scrolled,
.site-header.is-open { box-shadow: 0 6px 24px rgba(0, 0, 0, .3); }

.site-header__inner { height: 100%; display: flex; align-items: center; gap: clamp(24px, 3.5vw, 56px); }
.site-header .logo { margin-right: auto; }
@media (min-width: 1081px) {
  /* meni tačno u sredini headera: logo lijevo, telefon desno */
  .site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  .site-header .logo { margin-right: 0; justify-self: start; }
  .header-phone { justify-self: end; }
}

.nav__list { display: flex; align-items: center; gap: clamp(22px, 3vw, 48px); }
.nav__link {
  position: relative; display: block; padding: 8px 0;
  font-size: clamp(14px, 1.3vw, 17px); font-weight: 500; color: rgba(255, 255, 255, .92); white-space: nowrap;
  transition: color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: calc(-1 * clamp(6px, .95vw, 12px)); height: 3px; border-radius: 2px;
  background: var(--red-600); transform: scaleX(0); transition: transform .25s;
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after { transform: scaleX(.6); }
.nav__link[aria-current="page"] { color: #fff; font-weight: 700; }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.header-phone .icon { width: 26px; height: 26px; }
.header-phone {
  display: inline-flex; align-items: center; gap: clamp(10px, 1vw, 13px);
  height: clamp(40px, 3.15vw, 40px); padding: 0 clamp(14px, 1.6vw, 20px);
  border: 1.5px solid rgba(255, 255, 255, .75); border-radius: var(--radius-sm);
  font-weight: 500; font-size: clamp(14px, 1.22vw, 16px); white-space: nowrap;
  transition: background-color .2s, border-color .2s;
}
.header-phone:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .08); color: #fff;
  align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon--close { display: none; }
.site-header.is-open .nav-toggle .icon--menu { display: none; }
.site-header.is-open .nav-toggle .icon--close { display: block; }

/* =========================================================
   HERO
   ========================================================= */
/* Hero ide od ruba do ruba: slika se prikazuje cijela (1920×819),
   pretraga sjedi na dnu slike i blago prelazi preko ruba. */
.hero {
  position: relative;
  isolation: isolate;
  z-index: 10; /* iznad sekcija ispod, da kalendar i izbor putnika ne nestanu ispod njih */
  display: flex; flex-direction: column;
  margin-top: var(--header-h);
  min-height: clamp(540px, calc(100vw * 819 / 1920), 600px);
  padding-top: clamp(36px, 4.4vw, 56px);
  background: var(--navy-900);
  color: #fff;
}
.hero__media {
  position: absolute; inset: 0; z-index: -1; display: block; overflow: hidden;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero__media::after {
  /* zatamnjenje lijevo radi čitljivosti teksta */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 16, 26, .72) 0%, rgba(12, 16, 26, .42) 28%, rgba(12, 16, 26, 0) 46%),
    linear-gradient(180deg, rgba(12, 16, 26, .35) 0%, rgba(12, 16, 26, 0) 22%);
}

.hero__content { max-width: 600px; }
.hero__title {
  font-size: clamp(36px, 4.45vw, 57px); max-width: 8em;
  line-height: 1.14; font-weight: 600; letter-spacing: -.015em;
}
.hero__lead {
  margin-top: clamp(14px, 1.5vw, 19px); max-width: 22em;
  font-size: clamp(16px, 1.6vw, 20px); line-height: 1.45; color: rgba(255, 255, 255, .92);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: clamp(14px, 1.5vw, 19px); margin-top: clamp(24px, 3.1vw, 40px); }
.hero .btn {
  height: clamp(48px, 4.1vw, 52px); padding: 0 clamp(22px, 2.5vw, 32px); gap: clamp(10px, 1vw, 13px);
  font-size: clamp(15px, 1.4vw, 18px); font-weight: 500; border-radius: clamp(8px, .7vw, 9px);
}
.hero .btn .icon { width: clamp(24px, 2vw, 28px); height: clamp(24px, 2vw, 28px); }
.hero .btn--ghost { border-color: rgba(255, 255, 255, .85); background: rgba(10, 14, 22, .15); }

/* =========================================================
   REZERVACIJA / PRETRAGA
   ========================================================= */
.booking {
  position: relative; z-index: 5;
  margin-top: auto;
  padding-top: clamp(28px, 4vw, 51px);
  margin-bottom: calc(-1 * clamp(28px, 2.4vw, 31px));
}

.booking__tabs { display: flex; gap: 0; }
.booking__tab {
  display: inline-flex; align-items: center; gap: clamp(10px, 1.3vw, 17px);
  height: clamp(48px, 3.75vw, 48px); padding: 0 clamp(20px, 2.7vw, 35px);
  border: 0; border-radius: var(--radius) var(--radius) 0 0;
  background: #fff; color: var(--ink);
  font-weight: 600; font-size: clamp(14px, 1.35vw, 17px);
  transition: background-color .2s, color .2s;
}
.booking__tab .icon { width: clamp(24px, 2.1vw, 30px); height: clamp(24px, 2.1vw, 30px); }
.booking__tab .icon--on { display: none; }
.booking__tab[aria-selected="true"] .icon--on { display: block; }
.booking__tab[aria-selected="true"] .icon--off { display: none; }
.booking__tab[aria-selected="true"] { background: var(--red-600); color: #fff; }
.booking__tab:not([aria-selected="true"]):hover { background: #f6f7fa; }

.booking__panel {
  background: #fff; color: var(--ink);
  border-radius: 0 clamp(12px, .9vw, 12px) clamp(12px, .9vw, 12px) clamp(12px, .9vw, 12px);
  box-shadow: var(--shadow-lg);
  padding: clamp(16px, 1.6vw, 20px) clamp(18px, 1.9vw, 24px) clamp(20px, 1.9vw, 24px);
}
.booking__panel[hidden] { display: none; }

.search-form {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .8fr) auto;
  align-items: end; gap: clamp(10px, 1vw, 13px);
}
.track-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: end; gap: 14px;
}

.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; position: relative; }
.field__label { font-size: clamp(13px, 1.12vw, 14px); font-weight: 600; color: var(--ink); }
.field__control { position: relative; }
.field__control > .icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; color: var(--ink-soft); pointer-events: none; z-index: 1;
}
.field__control > .chevron {
  position: absolute; right: clamp(14px, 1.15vw, 15px); top: 50%; transform: translateY(-50%);
  width: clamp(16px, 1.3vw, 17px); height: clamp(16px, 1.3vw, 17px); color: var(--ink-soft); pointer-events: none; z-index: 1;
}

.input {
  width: 100%; height: clamp(48px, 3.6vw, 48px);
  padding: 0 clamp(32px, 2.6vw, 33px) 0 48px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; font-size: clamp(14px, 1.12vw, 14px); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.input:hover { border-color: #c9d0db; }
.input:focus { outline: none; border-color: var(--red-600); box-shadow: 0 0 0 4px rgba(215, 38, 43, .12); }
.input[aria-invalid="true"] { border-color: var(--red-600); }
select.input { cursor: pointer; text-overflow: ellipsis; }
select.input:invalid { color: var(--muted); }
.input--plain { padding-right: 14px; }

.swap-btn {
  width: clamp(44px, 3.4vw, 44px); height: clamp(48px, 3.6vw, 48px); border: 0; border-radius: var(--radius-sm);
  background: transparent; color: var(--ink);
  display: grid; place-items: center;
  transition: background-color .2s, transform .3s;
}
.swap-btn:hover { background: var(--bg); }
.swap-btn.is-spun { transform: rotate(180deg); }

/* broj putnika */
.pax-btn {
  width: 100%; height: clamp(48px, 3.6vw, 48px); text-align: left;
  padding: 0 clamp(32px, 2.6vw, 33px) 0 48px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  font-size: clamp(14px, 1.12vw, 14px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: border-color .2s, box-shadow .2s;
}
.pax-btn:hover { border-color: #c9d0db; }
.pax-btn[aria-expanded="true"] { border-color: var(--red-600); box-shadow: 0 0 0 4px rgba(215, 38, 43, .12); }

.pax-pop {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 20;
  width: 260px; padding: 8px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.pax-pop[hidden] { display: none; }
.pax-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.pax-row + .pax-row { border-top: 1px solid var(--line); }
.pax-row__name { font-weight: 700; font-size: 14.5px; }
.pax-row__hint { display: block; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid var(--line); background: #fff;
  display: grid; place-items: center; font-size: 18px; line-height: 1;
  transition: border-color .2s, color .2s;
}
.stepper button:hover:not(:disabled) { border-color: var(--red-600); color: var(--red-600); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 16px; text-align: center; font-weight: 700; }

/* jednosmjerna / povratna */
.trip-type {
  grid-column: 1 / -1;
  display: flex; gap: 8px; flex-wrap: wrap;
  margin: 0 0 4px; padding: 0; border: 0; min-width: 0;
}
.trip-type label { position: relative; cursor: pointer; }
.trip-type input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.trip-type span {
  display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 16px;
  border: 1.5px solid var(--line); border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--ink-soft);
  transition: background-color .2s, border-color .2s, color .2s;
}
.trip-type span::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid #c3c9d3; box-sizing: border-box; transition: border .2s;
}
.trip-type label:hover span { border-color: #c9d0db; }
.trip-type input:checked + span { background: var(--red-50); border-color: var(--red-600); color: var(--red-700); }
.trip-type input:checked + span::before { border: 4px solid var(--red-600); }
.trip-type input:focus-visible + span { outline: 3px solid rgba(215, 38, 43, .45); outline-offset: 2px; }

/* kalendar */
.date-btn.is-empty { color: var(--muted); }
.date-pop {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 20;
  width: 328px; padding: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg);
}
.date-pop[hidden] { display: none; }
.date-pop__hint { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--red-600); }
.date-pop__hint[hidden] { display: none; }
.date-pop__head { display: flex; align-items: center; justify-content: space-between; }
.date-pop__title { font-size: 16px; font-weight: 700; text-transform: capitalize; }
.date-pop__nav {
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: var(--bg); color: var(--ink);
  display: grid; place-items: center;
  transition: background-color .2s, color .2s;
}
.date-pop__nav svg { width: 18px; height: 18px; }
.date-pop__nav--prev svg { transform: rotate(90deg); }
.date-pop__nav--next svg { transform: rotate(-90deg); }
.date-pop__nav:hover:not(:disabled) { background: var(--red-600); color: #fff; }
.date-pop__nav:disabled { opacity: .35; cursor: not-allowed; }
.date-pop__week {
  display: grid; grid-template-columns: repeat(7, 1fr);
  margin: 14px 0 6px;
  font-size: 12px; font-weight: 600; color: var(--muted); text-align: center;
}
.date-pop__week span:nth-child(n+6) { color: var(--red-600); }
.date-pop__grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 2px; }
.date-pop__day {
  height: 40px; border: 0; border-radius: 10px;
  background: transparent; color: var(--ink);
  font-size: 14px; font-weight: 500;
  transition: background-color .15s, color .15s;
}
.date-pop__day:hover:not(:disabled) { background: var(--bg); }
.date-pop__day.is-today { color: var(--red-600); font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--red-600); }
.date-pop__day.in-range { background: var(--red-50); color: var(--red-700); border-radius: 0; }
.date-pop__day.is-selected,
.date-pop__day.is-selected:hover { background: var(--red-600); color: #fff; font-weight: 700; box-shadow: none; }
.date-pop__day.is-start { border-radius: 10px 0 0 10px; }
.date-pop__day.is-end { border-radius: 0 10px 10px 0; }
.date-pop__day:disabled { color: #c3c9d3; cursor: not-allowed; }
.date-pop__foot {
  display: flex; gap: 8px;
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line);
}
.date-pop__quick {
  height: 34px; padding: 0 14px;
  border: 1.5px solid var(--line); border-radius: 999px; background: #fff;
  font-size: 13.5px; font-weight: 600;
  transition: border-color .2s, color .2s;
}
.date-pop__quick:hover { border-color: var(--red-600); color: var(--red-600); }

.search-btn { height: clamp(48px, 3.6vw, 48px); padding: 0 clamp(22px, 2.2vw, 28px); font-size: clamp(15px, 1.25vw, 16px); }
.search-btn .icon { width: clamp(18px, 1.6vw, 20px); height: clamp(18px, 1.6vw, 20px); }

.form-msg {
  grid-column: 1 / -1; margin-top: 2px;
  font-size: 14px; font-weight: 600; color: var(--red-600);
}
.form-msg:empty { display: none; }
.form-msg--ok { color: #18794e; }

/* =========================================================
   PREDNOSTI
   ========================================================= */
.features { background: var(--bg); padding: calc(clamp(28px, 2.4vw, 31px) + 44px) 0 44px; }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature {
  display: flex; align-items: center; gap: 18px;
  padding: 6px 28px;
}
.feature + .feature { border-left: 1px solid #d9dee7; }
.feature:first-child { padding-left: 0; }
.feature__icon { width: 56px; height: 56px; flex: none; object-fit: contain; }
.feature__title { font-size: 15px; font-weight: 700; }
.feature__text { font-size: 13.5px; color: var(--ink-soft); line-height: 1.45; margin-top: 2px; }

/* =========================================================
   SEKCIJE — zajedničko
   ========================================================= */
.section { padding: 72px 0; }
.section--tight-top { padding-top: 24px; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  margin-bottom: 32px;
}
.section-title {
  position: relative; padding-bottom: 16px;
  font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -.6px; line-height: 1.15;
}
.section-title::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 48px; height: 4px; border-radius: 2px; background: var(--red-600);
}
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 15px; white-space: nowrap; padding-bottom: 18px;
}
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover { color: var(--red-600); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* =========================================================
   PROMOCIJE
   ========================================================= */
.promo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.promo-card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  background: var(--navy-800); color: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.promo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.promo-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.promo-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.promo-card:hover .promo-card__media img { transform: scale(1.06); }
.promo-card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(21, 29, 43, 0) 35%, rgba(21, 29, 43, .85) 85%, var(--navy-800) 100%);
}
.promo-card__body { position: relative; margin-top: -64px; padding: 0 18px 18px; z-index: 1; }
.badge {
  display: inline-block; padding: 4px 10px; border-radius: 6px;
  background: var(--red-600); color: #fff;
  font-size: 12.5px; font-weight: 700; line-height: 1.3;
}
.promo-card__title { margin-top: 8px; font-size: 22px; font-weight: 800; letter-spacing: -.3px; }
.promo-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.promo-card__date { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255, 255, 255, .9); }
.promo-card__date .icon { width: 20px; height: 20px; }
.price-pill {
  flex: none; padding: 4px 10px; border-radius: 6px;
  background: #fff; color: var(--red-600);
  font-size: 13px; font-weight: 600; white-space: nowrap;
}
.price-pill strong { font-size: 15px; font-weight: 800; }

/* =========================================================
   POPULARNE DESTINACIJE
   ========================================================= */
.dest-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.dest-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  min-height: 124px; padding: 20px 22px;
  background: var(--bg); border: 1px solid transparent; border-radius: var(--radius);
  transition: background-color .25s, border-color .25s, box-shadow .25s, transform .25s;
}
.dest-card__icon { width: 64px; height: 48px; margin: 0 auto; color: var(--ink); transition: color .25s; }
.dest-card__foot { display: flex; align-items: center; justify-content: space-between; }
.dest-card__name { font-size: 18px; font-weight: 700; }
.dest-card__foot .icon { transition: transform .2s, color .2s; }
.dest-card:hover { background: #fff; border-color: var(--line); box-shadow: var(--shadow); transform: translateY(-3px); }
.dest-card:hover .dest-card__icon { color: var(--red-600); }
.dest-card:hover .dest-card__foot .icon { transform: translateX(4px); color: var(--red-600); }

/* =========================================================
   FLOTA
   ========================================================= */
.fleet { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 56px; }
.fleet__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.fleet__media img { width: 100%; height: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 3px; border-radius: 2px; background: var(--red-600); }
.fleet__title { margin-top: 10px; font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -.6px; line-height: 1.15; }
.fleet__text { margin-top: 14px; color: var(--ink-soft); max-width: 460px; }
.checklist {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px;
  margin: 24px 0 30px;
}
.checklist li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; }
.checklist .check {
  width: 22px; height: 22px; flex: none; border-radius: 50%;
  display: grid; place-items: center; background: var(--red-600); color: #fff;
}
.checklist .check svg { width: 13px; height: 13px; }

/* =========================================================
   ZAŠTO PUTOVATI S NAMA
   ========================================================= */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card {
  padding: 28px 24px 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.why-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.why-card__icon { width: 64px; height: 64px; object-fit: contain; }
.why-card__title { margin-top: 18px; font-size: 18px; font-weight: 700; }
.why-card__text { margin-top: 6px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }

/* =========================================================
   KONTAKT TRAKA
   ========================================================= */
.contact-band { background: var(--bg); padding: 44px 0; margin-top: 24px; }
.contact-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.contact-band__intro { display: flex; align-items: center; gap: 18px; }
.contact-band__intro img { width: 56px; height: 56px; flex: none; }
.contact-band__title { font-size: 22px; font-weight: 800; letter-spacing: -.3px; }
.contact-band__text { margin-top: 4px; color: var(--ink-soft); font-size: 15px; }
.contact-band__list { display: flex; gap: 14px; flex-wrap: wrap; }
.contact-band__list a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px 12px 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  font-weight: 700; font-size: 15px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.contact-band__list a:hover { border-color: var(--red-600); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.contact-band__list img { width: 40px; height: 40px; }
.contact-band__list small { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--navy-800); color: rgba(255, 255, 255, .82); padding: 56px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr .9fr 1.1fr 1fr 1.5fr; gap: 0;
}
.footer-brand { padding-right: 32px; }
.footer-brand p { margin-top: 18px; font-size: 14.5px; max-width: 260px; }
.footer-col { padding: 0 28px; border-left: 1px solid rgba(255, 255, 255, .12); }
.footer-col h3 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.footer-col li + li { margin-top: 8px; }
.footer-col a { font-size: 14.5px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; }
.footer-contact .icon { width: 24px; height: 24px; color: #fff; }
.footer-bottom {
  margin-top: 48px; padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13.5px; color: rgba(255, 255, 255, .6);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .nav__list { gap: 20px; }
  .site-header__inner { gap: 24px; }
}

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: rgba(15, 22, 34, .98);
    padding: 8px 24px 24px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: none;
  }
  .site-header.is-open .nav { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: 14px 0; font-size: 17px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--red-600); }

  .search-form { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .search-form .field--date { grid-column: 1 / 2; }
  .search-form .field--pax { grid-column: 2 / 4; }
  .search-btn { grid-column: 1 / -1; }

  .features__grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .feature:nth-child(odd) { border-left: 0; padding-left: 0; }

  .promo-grid { grid-template-columns: repeat(2, 1fr); }
  .dest-grid { grid-template-columns: repeat(3, 1fr); }

  .fleet { grid-template-columns: 1fr; gap: 36px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col { padding: 0; border-left: 0; }
}

@media (max-width: 700px) {
  :root { --header-h: 68px; }
  .header-phone span { display: none; }
  .logo__text { font-size: 22px; }


  .booking__tab { flex: 1; justify-content: center; padding: 0 10px; font-size: 14px; white-space: nowrap; }
  .booking__panel { border-radius: 0 0 var(--radius-lg) var(--radius-lg); padding: 18px 16px 20px; }

  .search-form { grid-template-columns: 1fr; }
  .search-form .field--date,
  .search-form .field--pax,
  .search-btn { grid-column: auto; }
  .track-form { grid-template-columns: 1fr; }
  .date-pop { width: auto; right: 0; }

  .features__grid { grid-template-columns: 1fr; row-gap: 20px; }
  .feature, .feature + .feature { border-left: 0; padding: 0; }

  .section { padding: 56px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .link-arrow { padding-bottom: 0; }

  .promo-grid { grid-template-columns: 1fr; }
  .dest-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .checklist { grid-template-columns: 1fr; }
  .why-grid { gap: 12px; }
  .why-card { padding: 20px 16px; }
  .why-card__icon { width: 48px; height: 48px; }
  .why-card__title { margin-top: 12px; font-size: 16px; }
  .why-card__text { font-size: 13.5px; }
  .contact-band__list, .contact-band__list li, .contact-band__list a { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   MOBITEL — početna po mobilnom dizajnu
   ========================================================= */
.hero__bus, .hero__perks, .m-only, .btn__arrow { display: none; }

@media (max-width: 700px) {
  /* header */
  .site-header { border-bottom-color: transparent; }
  .site-header__inner { gap: 12px; }
  .header-phone, .nav-toggle { width: 48px; height: 48px; border-radius: 12px; }
  .header-phone { padding: 0; justify-content: center; }
  .header-phone .icon { width: 26px; height: 26px; }
  .nav-toggle { background: rgba(255, 255, 255, .1); }

  /* hero: nebo u sumrak kao pozadina, autobus kao zaseban blok */
  .hero {
    min-height: 0; padding-top: 28px; padding-bottom: 40px;
    background:
      radial-gradient(110% 40% at 85% 26%, rgba(226, 104, 72, .42), transparent 70%),
      radial-gradient(90% 36% at 10% 14%, rgba(110, 78, 150, .38), transparent 70%),
      linear-gradient(180deg, #161b30 0%, #1d2136 36%, #141a28 60%, #10151f 100%);
  }
  .hero__media { display: none; }
  .hero::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; z-index: -1;
    background: radial-gradient(70% 100% at 90% 100%, rgba(215, 38, 43, .75), rgba(215, 38, 43, 0) 70%);
    pointer-events: none;
  }

  .hero__content { max-width: none; }
  .hero__title { font-size: 40px; line-height: 1.1; font-weight: 700; max-width: none; }
  .hero__title::before {
    content: ""; display: block; width: 48px; height: 4px; border-radius: 2px;
    background: var(--red-600); margin-bottom: 18px;
  }
  .hero__lead { font-size: 16.5px; max-width: none; color: rgba(255, 255, 255, .85); }

  .hero__bus { display: block; margin: 6px calc(-1 * var(--gutter)) 0; }
  .hero__bus img {
    width: 100%; aspect-ratio: 1.5; object-fit: cover; object-position: 72% 60%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 74%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 74%, transparent 100%);
  }

  .hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 0; }
  .hero .btn { height: 54px; padding: 0 6px; gap: 6px; font-size: 14.5px; border-radius: 12px; }
  .hero .btn .icon { width: 22px; height: 22px; }
  .hero .btn .btn__arrow { display: block; width: 17px; height: 17px; }

  .hero__perks { display: grid; grid-template-columns: repeat(4, 1fr); margin: 26px 0 0; }
  .hero__perks li {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 0 4px; text-align: center;
    font-size: 12.5px; font-weight: 600; line-height: 1.25; color: #fff;
  }
  .hero__perks li + li { border-left: 1px solid rgba(255, 255, 255, .18); }
  .hero__perks img { width: 36px; height: 36px; object-fit: contain; }
  .features { display: none; }

  /* kartica za pretragu */
  .booking { padding-top: 26px; margin-bottom: 0; }
  .booking__tab {
    flex: 1; justify-content: center; gap: 6px;
    height: 54px; padding: 0 6px; font-size: 13.5px; white-space: nowrap;
    border-radius: 16px 16px 0 0;
  }
  .booking__tab .icon { width: 20px; height: 20px; }
  .booking__tab:not([aria-selected="true"]) { background: #eef1f6; }
  .booking__panel { border-radius: 0 0 20px 20px; padding: 18px 16px 20px; }

  .search-form { grid-template-columns: 1fr; gap: 10px; }
  .trip-type { margin-bottom: 2px; }
  .trip-type span { height: 42px; padding: 0 18px; font-size: 14.5px; }

  /* natpis polja unutar okvira */
  .booking__panel .field__label {
    position: absolute; top: 10px; left: 58px; z-index: 2;
    font-size: 14px; font-weight: 700; pointer-events: none;
  }
  .booking__panel .input,
  .booking__panel .pax-btn {
    height: 64px; padding: 22px 40px 0 58px;
    font-size: 15px; border-radius: 14px;
  }
  .booking__panel .field__control > .icon { left: 16px; width: 28px; height: 28px; }
  .booking__panel .field__control > .chevron { right: 16px; width: 18px; height: 18px; }

  /* dugme za zamjenu pluta između Polaska i Destinacije */
  .swap-btn {
    position: relative; z-index: 3; justify-self: end;
    width: 48px; height: 48px; margin: -24px 64px -24px 0;
    background: #fff; border-radius: 14px; color: var(--red-600);
    box-shadow: 0 6px 18px rgba(15, 22, 34, .16);
  }
  .swap-btn:hover { background: #fff; }
  .swap-btn .icon { width: 24px; height: 24px; }

  .search-form .search-btn { height: 60px; margin-top: 6px; font-size: 17px; border-radius: 14px; }
  .search-btn .m-only { display: inline; }
  .search-btn .btn__arrow { display: block; width: 20px; height: 20px; }
}

@media (max-width: 380px) {
  .hero__title { font-size: 34px; }
  .hero .btn .btn__arrow,
  .booking__tab .icon,
  .booking__tab[aria-selected="true"] .icon--on { display: none; }
  .hero__perks li { font-size: 11.5px; }
}
