/* VOLANERO.COM - sajt za rent-a-car firme. Boje i font branda su u base.css; ovdje navy uvod i trake. */
::selection { background: #F7DA9A; color: #10243E; }

/* Logo: wordmark (SVG, _logo_volanero.php); slova currentColor, volan amber. Najmanje 120 px širine. */
.logo--brand { line-height: 0; color: var(--ink); }
.logo--brand svg { display: block; height: 30px; width: auto; }
.foot .logo--brand svg { height: 34px; }

.hero-www { background: radial-gradient(1100px 480px at 88% -12%, rgba(232, 163, 23, .16), transparent 60%), #10243E; color: #B9C4D1; overflow: hidden; }
.hero-www__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center;
  padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(48px, 8vw, 96px); }
.hero-www h1 { color: #fff; }
.hero-www .lead { color: #B9C4D1; }
.hero-www .eyebrow { color: #F2C25B; }
.hero-www__actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 20px; }
.hero-www .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.hero-www .btn--ghost:hover { border-color: #fff; }
.hero-www__facts { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 0; list-style: none; font-size: .9rem; }
.hero-www__facts li::before { content: "✓ "; color: #F2C25B; font-weight: 800; }

/* "Ekran" aplikacije u uvodu (čisti CSS, bez slika) */
.mock { background: #fff; border-radius: 16px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); overflow: hidden; color: var(--text); font-size: .8rem; }
.mock__bar { display: flex; gap: 6px; padding: 10px 12px; background: #eef2f7; }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.mock__body { display: grid; grid-template-columns: 110px 1fr; min-height: 280px; }
.mock__side { background: #10243E; padding: 12px 10px; display: grid; gap: 8px; align-content: start; }
.mock__side span { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .18); }
.mock__side span:first-child { background: #E8A317; width: 70%; }
.mock__main { padding: 14px; display: grid; gap: 10px; align-content: start; }
.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock__kpi { border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
.mock__kpi b { display: block; font-size: 1.05rem; color: var(--ink); }
.mock__row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 7px 8px; border-radius: 8px; background: var(--soft); }
.mock__row em { font-style: normal; font-weight: 700; color: #10243E; text-align: right; white-space: nowrap; } /* broj ugovora R-2026/154 ne smije se prelomiti */
.mock__chart { height: 70px; border-radius: 10px; background: linear-gradient(180deg, rgba(232, 163, 23, .25), transparent),
  repeating-linear-gradient(90deg, transparent 0 18px, rgba(15, 23, 42, .05) 18px 19px); position: relative; overflow: hidden; }
.mock__chart::after { content: ""; position: absolute; inset: 18px 0 0; background:
  linear-gradient(160deg, transparent 0 30%, #E8A317 30% 31.5%, transparent 31.5%) 0 0 / 34% 100% repeat-x; opacity: .7; }

.feature h3 { margin-bottom: .3em; }
.feature p { color: var(--muted); margin: 0; }
.module-group { margin-bottom: 40px; }
.module-group h2 { font-size: 1.3rem; display: flex; align-items: center; gap: 10px; }
.module { padding: 18px; }
.module h3 { font-size: 1.02rem; margin-bottom: .25em; }
.module p { margin: 0; color: var(--muted); font-size: .95rem; }

.market-card { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.market-card__domain { font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.market-card p { color: var(--muted); margin: 0; }
.market-card .badge { align-self: flex-start; }

.price-cards { display: flex; flex-wrap: wrap; gap: 16px; }
.price-card { padding: 24px; min-width: 220px; }
.price-card__amount { font-size: 2.4rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; }
.price-card__unit { color: var(--muted); }
.calc { padding: 24px; display: grid; gap: 14px; }
.calc__total { font-size: 2rem; font-weight: 800; color: var(--ink); }
.calc__row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.calc output { font-weight: 800; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.topic { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.topic label { display: flex; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; cursor: pointer; font-weight: 600; }
.topic label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }

@media (max-width: 900px) {
  .hero-www__grid, .contact-grid { grid-template-columns: 1fr; }
  .mock { display: none; }
}

/* ---------- Zaglavlje podstranica (_page_head.php): naslov lijevo, široka ilustracija desno ---------- */

.page-head { background: radial-gradient(900px 420px at 92% 0%, rgba(232, 163, 23, .14), transparent 60%), #10243E; color: #B9C4D1; overflow: hidden; }
.page-head__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 40px; align-items: center;
  padding-top: clamp(36px, 6vw, 72px); padding-bottom: clamp(28px, 5vw, 56px); }
.page-head h1 { color: #fff; text-wrap: balance; }
.page-head .lead { color: #B9C4D1; margin-bottom: 0; }
.page-head__art .art { width: 100%; height: auto; display: block; overflow: visible; }

/* Ilustracije: blago lebdenje kartica u zaglavljima (isključeno za "smanji pokrete") */
@keyframes art-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (prefers-reduced-motion: no-preference) {
  .art-float { animation: art-float 6s cubic-bezier(.45, 0, .55, 1) infinite; }
  .art-float--2 { animation-duration: 7.5s; animation-delay: -2s; }
  .art-float--3 { animation-duration: 6.8s; animation-delay: -4s; }
}

/* Brzi linkovi na grupe (Funkcije) */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.jump a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, .18); color: #e2e8f0; text-decoration: none; font-weight: 600; font-size: .92rem;
  transition: background-color .2s, border-color .2s; }
.jump a:hover { background: rgba(242, 194, 91, .12); border-color: #F2C25B; }
.jump a span { font-size: .75rem; font-weight: 800; color: #F2C25B; }

/* ---------- Poglavlja grupa modula: ilustracija + lista ---------- */
.chapter { --tint: #FDF4E0; --tint-ink: #9A6700; padding: clamp(48px, 7vw, 88px) 0; scroll-margin-top: 64px; }
.chapter + .chapter { border-top: 1px solid var(--line); }
.chapter--fleet, .chapter--reports { --tint: #e8eefc; --tint-ink: #1d4ed8; }
.chapter--customers { --tint: #f1edfe; --tint-ink: #5b45d6; }
.chapter--pricing { --tint: #fff3dc; --tint-ink: #a15c07; }
.chapter--company { --tint: #fdece8; --tint-ink: #b2361f; }
.chapter__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.chapter:nth-child(even) .chapter__art { order: 2; }
.chapter__art { position: sticky; top: 88px; }
.chapter__frame { background: var(--tint); border-radius: 24px; padding: clamp(12px, 2.5vw, 28px); }
.chapter__frame .art { width: 100%; height: auto; display: block; }
.chapter h2 { display: flex; align-items: baseline; gap: 12px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.chapter__count { font-size: .9rem; font-weight: 800; color: var(--tint-ink); background: var(--tint); border-radius: 99px; padding: 2px 10px; }
.chapter .lead { margin-bottom: 28px; }
.chapter__body:only-child { grid-column: 1 / -1; }

.mods { list-style: none; margin: 0; padding: 0; }
.mod { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.mod:last-child { border-bottom: 1px solid var(--line); }
.mod__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--tint, var(--accent-soft));
  color: var(--tint-ink, var(--accent)); }
.mod__icon svg { width: 22px; height: 22px; }
.mod h3 { font-size: 1.05rem; margin: 2px 0 .2em; }
.mod p { margin: 0; color: var(--muted); font-size: .95rem; max-width: 62ch; }

/* ---------- Uvijek uključeno: tamna traka ---------- */
.always { background: radial-gradient(800px 400px at 100% 0%, rgba(232, 163, 23, .12), transparent 60%), #10243E; color: #B9C4D1;
  padding: clamp(48px, 7vw, 88px) 0; scroll-margin-top: 64px; }
.always h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.always .lead { color: #B9C4D1; }
.always__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; margin-bottom: 40px; }
.always__art .art { width: 100%; max-width: 440px; height: auto; display: block; margin-left: auto; overflow: visible; }
.always__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
.always__list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
.always__list .mod__icon { background: rgba(242, 194, 91, .12); color: #F2C25B; }
.always__list h3 { color: #fff; font-size: 1.02rem; margin: 2px 0 .2em; }
.always__list p { margin: 0; font-size: .93rem; color: #aab6c8; }

@media (max-width: 900px) {
  .page-head__grid, .chapter__grid, .always__head { grid-template-columns: 1fr; }
  .page-head__art { max-width: 560px; }
  .chapter__art { position: static; order: 0 !important; max-width: 520px; }
  .always__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .always__art .art { margin: 0; max-width: 360px; }
}
@media (max-width: 640px) {
  .always__list { grid-template-columns: 1fr; }
  .page-head__grid { gap: 24px; }
}

/* ---------- Cijene: paketi Start / Standard / Napredni (docs/45) ---------- */
.plans-controls { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px 32px; align-items: center; padding: 18px 22px; margin-bottom: 20px; }
.period-switch { display: inline-flex; background: var(--soft); border-radius: 999px; padding: 4px; gap: 4px; flex-wrap: wrap; }
.period-switch__item input { position: absolute; opacity: 0; pointer-events: none; }
.period-switch__item span { display: inline-block; padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: .92rem; cursor: pointer; color: var(--text); }
.period-switch__item span b { color: var(--amber-text); font-weight: 800; }
.period-switch__item input:checked + span { background: var(--ink); color: #fff; }
.period-switch__item input:checked + span b { color: var(--amber); }
.period-switch__item input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.plans-slider { margin: 0; }
.plans-slider input[type="range"] { width: 100%; accent-color: var(--amber); }
.plans-slider output { font-weight: 800; color: var(--ink); }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px 22px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); }
.plan--featured { border: 2px solid var(--ink); }
.plan__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--amber); color: var(--ink);
  font-size: .78rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.plan__name { font-size: 1.45rem; margin: 0; }
.plan__desc { color: var(--muted); margin: 0; min-height: 5.2em; }
.plan__price { display: grid; gap: 2px; }
.plan__old { color: var(--muted); font-size: .95rem; }
.plan__amount { font-size: 2rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; }
.plan__unit { color: var(--muted); font-size: .9rem; }
.plan__total { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 0; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .92rem; }
.plan__total dt { color: var(--muted); }
.plan__total dd { margin: 0; font-weight: 800; color: var(--ink); text-align: right; white-space: nowrap; }
.plan__count { margin: 0; }
/* Prvi mjeseci besplatno za nove firme (Naplata -> trial_enabled) */
.trial-banner { display: flex; gap: 14px; align-items: center; padding: 14px 18px; margin-bottom: 20px; border-radius: var(--radius);
  background: #ecfdf3; border: 1px solid #abefc6; color: var(--ink); }
.trial-banner strong { font-size: 1.08rem; }
.trial-banner p { margin: 2px 0 0; color: var(--text); font-size: .92rem; }
.trial-banner__icon { display: inline-grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--success); color: #fff; }
.trial-banner__icon svg, .plan__trial svg { width: 22px; height: 22px; }
.plan__trial { display: flex; align-items: center; gap: 6px; margin: 0; font-weight: 800; font-size: .9rem; color: var(--success); }
.plan__trial svg { width: 18px; height: 18px; }
.plan .btn { margin-top: auto; }

.compare { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 560px; }
.compare th, .compare td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { position: sticky; top: 64px; background: #fff; z-index: 1; font-size: 1.05rem; }
.compare__plan { text-align: center !important; width: 16%; color: var(--ink); }
.compare__plan--featured { background: var(--ink) !important; color: #fff !important; border-radius: 10px 10px 0 0; }
.compare__group th { background: var(--soft); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.compare tbody th[scope="row"] { font-weight: 700; color: var(--ink); }
.compare__hint { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; margin-top: 2px; }
.compare__cell { text-align: center !important; vertical-align: middle !important; }
.compare__cell--featured { background: rgba(16, 36, 62, .04); }
.compare__mark { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-weight: 800; font-size: .85rem; }
.compare__mark--yes { background: var(--ink); color: #fff; }
.compare__mark--no { color: #B9C4D1; border: 1.5px solid #DDE3EA; }

@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; }
  .plans-controls { grid-template-columns: 1fr; }
  .plan--featured { order: -1; }
  .compare__hint { display: none; }
}
