/* ==========================================================
   GT GARAGE — luxury blue segments, booking, location
   (loads after style.css)
   ========================================================== */
:root {
  --navy: #0a1f3d;
  --royal: #123a7a;
  --royal-bright: #2a63d4;
  --blue-line: rgba(42, 99, 212, 0.35);
}

body {
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(42, 99, 212, 0.18), transparent 70%),
    radial-gradient(ellipse 60% 50% at 50% 110%, rgba(39, 175, 255, 0.07), transparent 70%),
    var(--bg);
  background-attachment: fixed;
}

/* Logo sits on its own white badge (the original has a white background) */
.crest--badge img {
  padding: 8px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--gold-line), 0 0 0 7px rgba(42, 99, 212, 0.14), 0 24px 70px -20px rgba(39, 175, 255, 0.45);
}
.brand img { border-radius: 50%; background: #fff; padding: 3px; filter: none; }
.brand span {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Home: two big choice cards — Auta / Plovila */
.choices--split { flex-direction: row; width: min(100%, 640px); gap: 18px; }
.choice {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 26px 26px 24px;
  border: 1px solid var(--gold-line);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(18, 58, 122, 0.6), rgba(2, 8, 23, 0.75));
  text-align: left;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.choice::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(120% 90% at 100% 0%, rgba(39, 175, 255, 0.24), transparent 60%);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.choice:hover, .choice:focus-visible {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -28px rgba(39, 175, 255, 0.55);
}
.choice:hover::before, .choice:focus-visible::before { opacity: 1; }
.choice__icon { width: 36px; height: 36px; margin-bottom: 14px; color: var(--gold); }
.choice__title { font-family: var(--serif); font-weight: 700; font-size: 1.65rem; line-height: 1.2; color: var(--text); }
.choice__meta { font-size: 13px; color: var(--muted); }
.choice__go {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}
.choice__go svg { width: 16px; height: 16px; transition: transform 0.5s var(--ease); }
.choice:hover .choice__go svg { transform: translateX(4px); }

.home__facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin-top: 34px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.home__facts span { display: inline-flex; align-items: center; gap: 8px; }
.home__facts i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }

/* Luxury blue segment — deep royal band with aqua hairlines */
.band {
  position: relative;
  padding: clamp(80px, 11vw, 130px) 0;
  background:
    radial-gradient(ellipse 70% 120% at 85% 0%, rgba(39, 175, 255, 0.13), transparent 60%),
    linear-gradient(135deg, #0b2550 0%, var(--royal) 55%, var(--navy) 100%);
  border-block: 1px solid var(--blue-line);
  overflow: hidden;
}
.band::before { /* fine diagonal sheen, like brushed metal */
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 9px);
  pointer-events: none;
}
.band .wrap { position: relative; }
.section + .band, .band + .section { margin-top: 0; }
.band + .section { padding-top: clamp(80px, 12vw, 150px); }
.band .service-list, .band .service { border-color: rgba(160, 220, 255, 0.2); }
.band .lede, .band .service p, .band .process p, .band .services__head p { color: #b8cbdb; }
.band .process li::before { background: var(--royal); }

/* Trust strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.stats li { padding: 22px 0 0; border-top: 1px solid rgba(160, 220, 255, 0.25); }
.stats b { display: block; margin-bottom: 4px; font-family: var(--serif); font-weight: 700; font-size: clamp(1.35rem, 2.4vw, 1.8rem); color: var(--gold-bright); }
.stats span { font-size: 14px; color: #b8cbdb; }

/* Booking */
.booking {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--gold-line);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(18, 58, 122, 0.4), rgba(2, 8, 23, 0.65));
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-dim); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 1px solid rgba(147, 168, 184, 0.25);
  border-radius: 14px;
  background: rgba(1, 4, 12, 0.55);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  color-scheme: dark;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.field textarea { min-height: 110px; resize: vertical; }
.field select {
  appearance: none;
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.field select option, .field select optgroup { background: #07142b; color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(39, 175, 255, 0.12);
}
.field input:user-invalid, .field select:user-invalid { border-color: #ff8a8a; }
.form .btn { grid-column: 1 / -1; justify-content: center; }
.form__note { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
.form__note[data-state="ok"] { color: var(--gold-bright); }

.contact-list { margin: 30px 0 0; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--gold-line); }
.contact-list svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--gold); }
.contact-list b { display: block; font-weight: 500; color: var(--text); }
.contact-list span, .contact-list a { font-size: 15px; color: var(--muted); }
.contact-list a:hover { color: var(--gold); }

/* Location */
.map {
  position: relative;
  aspect-ratio: 16 / 7;
  border: 1px solid var(--gold-line);
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-raise);
  box-shadow: 0 40px 90px -50px rgba(42, 99, 212, 0.7);
}
.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(0.9) hue-rotate(180deg) saturate(1.2) contrast(0.92);
}
.map__pin {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border: 1px solid var(--gold-line);
  border-radius: 16px;
  background: rgba(2, 8, 23, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 14px;
  line-height: 1.4;
}
.map__pin b { display: block; font-weight: 500; color: var(--gold-bright); }
.map__pin a { color: var(--gold); white-space: nowrap; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }

/* Cross-link to the other segment */
.crosslink { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.crosslink .h2 { margin: 0; }

@media (max-width: 900px) {
  .booking { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .choices--split { flex-direction: column; }
  .form { grid-template-columns: 1fr; }
  .crosslink { justify-content: center; text-align: center; }
  .map__pin { right: 18px; }
}

/* ---------- Clean motion: soft fade-up, no blur ---------- */
[data-reveal] {
  transform: translateY(16px);
  filter: none;
  transition:
    opacity 0.9s var(--ease) calc(var(--i, 0) * 80ms),
    transform 0.9s var(--ease) calc(var(--i, 0) * 80ms);
}
.home .choices { margin-top: 44px; }

/* ---------- Gallery — a quiet strip, almost invisible until hovered ---------- */
.gallery { padding: clamp(36px, 6vw, 64px) 0 0; }
.gallery[hidden] { display: none; }
.gallery__label {
  margin: 0 0 14px;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--faint);
}
.gallery__track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-mask: linear-gradient(90deg, #000 85%, transparent);
  mask: linear-gradient(90deg, #000 85%, transparent);
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__item {
  position: relative;
  flex: none;
  height: clamp(120px, 16vw, 170px);
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-raise);
  scroll-snap-align: start;
  cursor: zoom-in;
  opacity: 0.55;
  filter: saturate(0.7);
  transition: opacity 0.6s var(--ease), filter 0.6s var(--ease), transform 0.6s var(--ease);
}
.gallery__item img, .gallery__item video { width: 100%; height: 100%; object-fit: cover; }
.gallery__track:hover .gallery__item { opacity: 0.4; }
.gallery__track .gallery__item:hover, .gallery__item:focus-visible { opacity: 1; filter: none; transform: translateY(-3px); }
@media (hover: none) { .gallery__item { opacity: 0.85; filter: none; } }
.gallery__play {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 0;
  height: 0;
  border-left: 9px solid rgba(255, 255, 255, 0.85);
  border-block: 6px solid transparent;
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(1, 4, 12, 0.94);
  color: var(--text);
}
.lightbox[open] { display: grid; place-items: center; animation: lb-in 0.4s var(--ease); }
.lightbox::backdrop { background: transparent; }
@keyframes lb-in { from { opacity: 0; } }
.lightbox__stage { display: grid; place-items: center; width: 100%; height: 100%; padding: 64px 16px; pointer-events: none; }
.lightbox__stage img, .lightbox__stage video {
  max-width: min(100%, 1100px);
  max-height: 100%;
  border-radius: 14px;
  pointer-events: auto;
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9);
}
.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  background: rgba(2, 8, 23, 0.7);
  color: var(--text);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.lightbox__btn:hover { border-color: var(--gold); color: var(--gold); }
.lightbox__btn--close { top: 16px; right: 16px; }
.lightbox__btn--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Quick contact (phone + Instagram), every page ---------- */
.quick {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: quick-in 0.8s var(--ease) 0.6s both;
}
@keyframes quick-in { from { opacity: 0; transform: translateY(12px); } }
.quick a {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  background: rgba(2, 8, 23, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--gold);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.quick a:first-child { background: var(--gold); border-color: var(--gold); color: #020817; }
.quick a:hover { transform: translateY(-2px); border-color: var(--gold); }
.quick a:not(:first-child):hover { background: var(--gold); color: #020817; }
.quick svg { width: 21px; height: 21px; }

.site-footer .wrap { align-items: center; }
.site-footer__links { display: inline-flex; gap: 10px; }
.ficon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  color: var(--gold);
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.ficon svg { width: 17px; height: 17px; }
.ficon:hover { border-color: var(--gold); background: var(--gold); color: #020817; }

/* Credit + the almost invisible admin entry right next to it */
.credit { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: 0.14em; color: var(--faint); }
.credit a { transition: color 0.4s var(--ease); }
.credit a:hover { color: var(--gold); }
.adm-dot {
  width: 14px;
  height: 14px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(147, 168, 184, 0.06);
  cursor: default;
}
.adm-dot:focus-visible { background: var(--gold-dim); }
.home-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 1;
  display: flex;
  justify-content: center;
}

.adm-dialog {
  width: min(92vw, 320px);
  padding: 24px;
  border: 1px solid var(--gold-line);
  border-radius: 20px;
  background: #07142b;
  color: var(--text);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
}
.adm-dialog[open] { animation: chat-in 0.35s var(--ease); }
.adm-dialog::backdrop { background: rgba(1, 4, 12, 0.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.adm-dialog label { display: block; margin-bottom: 10px; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-dim); }
.adm-dialog input {
  width: 100%;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid rgba(147, 168, 184, 0.25);
  border-radius: 14px;
  background: rgba(1, 4, 12, 0.55);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}
.adm-dialog input:focus { outline: none; border-color: var(--gold); }
.adm-dialog__msg { min-height: 20px; margin: 10px 0 6px; font-size: 13px; color: var(--muted); }
.adm-dialog__actions { display: flex; justify-content: flex-end; gap: 8px; }
.adm-dialog__actions button {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.adm-dialog__actions .adm-dialog__ok { border-color: var(--gold); background: var(--gold); color: #020817; font-weight: 500; }
.form__note a { color: var(--gold); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Hero video: just the video, no device frame ---------- */
.phone { padding: 0; border-radius: 20px; background: none; box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.8); }
.phone::before { display: none; }
.phone__screen { border-radius: 20px; }

/* ---------- Home: two light buttons, each with its own little motion ---------- */
.picks {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(100%, 380px);
  margin-top: 48px;
}
.pick {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 74px;
  padding: 0 24px 0 18px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.5s var(--ease), background-color 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.pick:hover, .pick:focus-visible {
  border-color: var(--gold);
  background: rgba(39, 175, 255, 0.06);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -26px rgba(39, 175, 255, 0.6);
}
.pick__label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text);
}
.pick__label svg { width: 18px; height: 18px; color: var(--gold); transition: transform 0.5s var(--ease); }
.pick:hover .pick__label svg { transform: translateX(4px); }
.pick__anim {
  flex: none;
  width: 78px;
  height: 26px;
  overflow: hidden;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Auto: rolls along a moving road */
.pick--auto .road path { stroke-opacity: 0.45; animation: road 0.9s linear infinite; }
@keyframes road { to { transform: translateX(-18px); } }
.pick--auto .car { animation: car-bump 0.45s ease-in-out infinite alternate; }
@keyframes car-bump { to { transform: translateY(-0.6px); } }
.pick--auto .wheel { animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pick--auto .speed { stroke-opacity: 0.6; animation: speed 0.9s ease-in-out infinite; }
@keyframes speed { 0% { transform: translateX(6px); opacity: 0; } 50% { opacity: 1; } 100% { transform: translateX(-8px); opacity: 0; } }
.pick--auto:hover .wheel { animation-duration: 0.3s; }
.pick--auto:hover .road path { animation-duration: 0.4s; }

/* Plovila: bobs over rolling waves */
.pick--brod .boat { transform-origin: 56px 30px; animation: bob 3.2s ease-in-out infinite; }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-2.5px) rotate(4deg); }
}
.pick--brod .waves path { animation: waves 2.4s linear infinite; }
.pick--brod .waves path + path { animation-duration: 3.6s; }
@keyframes waves { to { transform: translateX(30px); } }
.pick--brod:hover .boat { animation-duration: 1.8s; }

.home__nap { margin: 30px 0 0; font-size: 13px; letter-spacing: 0.08em; color: var(--muted); }
.home__nap a { color: var(--gold); }

@media (max-width: 640px) {
  .home { padding-bottom: 130px; }
  .site-footer { padding-bottom: 130px; } /* clear the floating phone/Instagram buttons */
}

/* ---------- Booking conversation ---------- */
.form[hidden], .chat[hidden] { display: none; }
.chat {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gold-line);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(18, 58, 122, 0.4), rgba(2, 8, 23, 0.65));
  overflow: hidden;
  animation: chat-in 0.6s var(--ease);
}
@keyframes chat-in { from { opacity: 0; transform: translateY(10px); } }
.chat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--gold-line);
}
.chat__head b { display: block; font-weight: 500; }
.chat__head small { font-size: 12px; color: var(--muted); }
.chat__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.chat__log {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 340px;
  padding: 18px 20px;
  overflow-y: auto;
}
.msg { max-width: 82%; animation: chat-in 0.4s var(--ease); }
.msg p {
  margin: 0;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.msg time { display: block; margin-top: 4px; font-size: 11px; color: var(--faint); }
.msg--out { align-self: flex-end; text-align: right; }
.msg--out p { border-bottom-right-radius: 4px; background: var(--gold); color: #020817; text-align: left; }
.msg--in p { border-bottom-left-radius: 4px; background: rgba(42, 99, 212, 0.35); border: 1px solid var(--blue-line); }
.chat__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--gold-line); }
.chat__form input {
  flex: 1;
  min-width: 0;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid rgba(147, 168, 184, 0.25);
  border-radius: 999px;
  background: rgba(1, 4, 12, 0.55);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}
.chat__form input:focus { outline: none; border-color: var(--gold); }
.chat__form button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: #020817;
  cursor: pointer;
}
.chat__form button svg { width: 20px; height: 20px; }
.chat__new {
  padding: 0 0 14px;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.12em;
  cursor: pointer;
}
.chat__new:hover { color: var(--gold); }

/* Brand: silver/metallic gradient (as in the logo) */
.stats b {
  background: var(--silver);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Home poster — po uzoru na brend vizual (logo, auto, brod u pozadini) ---------- */
.home--poster {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
  padding: 23svh 18px 90px;
}
.home--poster::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -1;
  width: max(100%, 56.25svh);
  transform: translateX(-50%);
  background:
    linear-gradient(180deg, transparent calc(100svh - 140px), #020817 100svh),
    url("/assets/pocetna-bg.jpg?v=2") center top / auto 100svh no-repeat,
    #020817;
}
@media (min-aspect-ratio: 9/16) {
  .home--poster::before {
    width: 56.25svh;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  }
}
.home__logo { height: 0; }
.home--poster .home__inner { max-width: 440px; margin: 0 auto; }
.home--poster .eyebrow { margin-bottom: 26px; color: rgba(255, 255, 255, 0.78); letter-spacing: 0.32em; }
.home--poster .eyebrow::before, .home--poster .eyebrow::after { background: linear-gradient(90deg, transparent, var(--gold)); }
.home--poster .eyebrow::after { background: linear-gradient(270deg, transparent, var(--gold)); }
.home--poster .display {
  font-weight: 700;
  font-size: clamp(2.3rem, 11vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.home--poster .display span {
  background: var(--silver);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6));
}
.home--poster .display em {
  animation: none;
  background: linear-gradient(180deg, #7fd0ff, #27afff 55%, #1478c2);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 18px rgba(39, 175, 255, 0.55));
}
.home--poster .picks { width: 100%; gap: 16px; margin-top: 40px; }
.home--poster .pick {
  min-height: 86px;
  padding: 0 24px 0 20px;
  border: 1.5px solid rgba(39, 175, 255, 0.75);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(14, 40, 90, 0.5), rgba(2, 8, 23, 0.6));
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 0 22px -4px rgba(39, 175, 255, 0.45), inset 0 0 22px rgba(39, 175, 255, 0.1);
}
.home--poster .pick:hover, .home--poster .pick:focus-visible {
  border-color: #7fd0ff;
  background: linear-gradient(180deg, rgba(20, 60, 130, 0.6), rgba(2, 8, 23, 0.6));
  box-shadow: 0 0 30px -2px rgba(39, 175, 255, 0.6), inset 0 0 26px rgba(39, 175, 255, 0.16);
}
.home--poster .pick__anim { width: 92px; height: 32px; stroke: #4dbdff; }
.home--poster .pick__label {
  align-self: stretch;
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  margin: 22px 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.26em;
}
.home__contact { margin-top: 34px; font-size: 15px; color: rgba(255, 255, 255, 0.86); }
.home__contact svg { flex: none; width: 19px; height: 19px; color: var(--gold); }
.home__addr, .home__tels { display: flex; align-items: center; justify-content: center; gap: 10px; }
.home__tels { margin: 12px 0 0; font-weight: 700; color: #fff; }
.home__tels a:hover, .home__addr:hover { color: var(--gold); }
.home__tels i { width: 1px; height: 20px; margin: 0 6px; background: rgba(255, 255, 255, 0.35); }


/* ---------- Phone picker (two numbers) ---------- */
.call-dialog {
  width: min(88vw, 300px);
  padding: 22px;
  border: 1px solid rgba(39, 175, 255, 0.45);
  border-radius: 22px;
  background: #07142b;
  color: var(--text);
  text-align: center;
  box-shadow: 0 0 30px -8px rgba(39, 175, 255, 0.5), 0 40px 90px -30px rgba(0, 0, 0, 0.9);
}
.call-dialog[open] { animation: chat-in 0.35s var(--ease); }
.call-dialog::backdrop { background: rgba(1, 4, 12, 0.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.call-dialog__title { margin: 0 0 14px; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-dim); }
.call-dialog__num {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  margin-bottom: 10px;
  border: 1.5px solid rgba(39, 175, 255, 0.7);
  border-radius: 16px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.call-dialog__num svg { width: 20px; height: 20px; color: var(--gold); }
.call-dialog__num:hover, .call-dialog__num:focus-visible { background: var(--gold); color: #020817; }
.call-dialog__num:hover svg, .call-dialog__num:focus-visible svg { color: #020817; }
.call-dialog__close {
  min-height: 40px;
  margin-top: 4px;
  padding: 0 18px;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.page-home { position: relative; } /* credit stays under the content on short screens */
/* Wider screens: the same poster, continued sideways as its own mirror image */
@media (min-aspect-ratio: 9/16) {
  .home--poster::before {
    width: 56.25svh;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  }
  .home--poster::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -2;
    transform: scaleX(-1);
    background:
      linear-gradient(180deg, transparent calc(100svh - 140px), #020817 100svh),
      radial-gradient(ellipse 25svh 13svh at 51.5% 13.5%, #020817 66%, rgba(2, 8, 23, 0.8) 80%, transparent 100%) center top / 56.25svh 100svh repeat-x,
      url("/assets/pocetna-bg.jpg?v=2") center top / auto 100svh repeat-x,
      #020817;
    filter: brightness(0.62) saturate(1.1);
    -webkit-mask-image: radial-gradient(ellipse 85svh 120% at 50% 35%, #000 55%, transparent 100%);
    mask-image: radial-gradient(ellipse 85svh 120% at 50% 35%, #000 55%, transparent 100%);
  }
}


/* ---------- Available 24/7 badge (next to phone numbers) ---------- */
.avail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(39, 175, 255, 0.55);
  border-radius: 999px;
  background: rgba(39, 175, 255, 0.12);
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
.avail::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}
.home__avail { margin: 12px 0 0; display: flex; justify-content: center; }
.contact-list .avail { margin-top: 10px; }
.call-dialog__avail { margin: -4px 0 14px; display: flex; justify-content: center; }

/* ---------- Akcije ---------- */
.promo-hero { padding-bottom: 0; }
.promo-hero .lede { max-width: 620px; }
.promo-list { padding-top: clamp(40px, 6vw, 70px); }
.promo {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}
.promo + .promo { margin-top: clamp(60px, 9vw, 110px); }
.promo__media {
  margin: 0;
  border: 1px solid var(--gold-line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 40px 90px -45px rgba(39, 175, 255, 0.55);
}
.promo__media img { display: block; width: 100%; height: auto; }
.promo__body .h2 { margin-top: 10px; }
.promo__body .btn { margin-top: 30px; }
@media (max-width: 820px) {
  .promo { grid-template-columns: 1fr; }
}

/* Početna: dugme za akcije ispod Auta / Plovila */
.pick--akcije { min-height: 62px; border-color: var(--gold-dim); background: linear-gradient(90deg, rgba(39, 175, 255, 0.16), rgba(39, 175, 255, 0.03)); }
.pick__badge {
  flex: none;
  display: grid;
  place-items: center;
  min-width: 78px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--gold);
  color: #020817;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  animation: promo-pulse 2.6s var(--ease-soft) infinite;
}
@keyframes promo-pulse { 50% { box-shadow: 0 0 0 6px rgba(39, 175, 255, 0.18); } }
@media (prefers-reduced-motion: reduce) { .pick__badge { animation: none; } }
