/* =========================================================
   Skrol trake (lepo dizajnirane) + stranica „O nama”
   ========================================================= */

/* ---------- Skrol traka stranice ---------- */
html { scrollbar-color: #9aa6bd var(--bg); scrollbar-width: thin; }
::-webkit-scrollbar { width: 12px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #b7c0d1; border-radius: 20px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--bordo); }
::-webkit-scrollbar-corner { background: transparent; }

/* unutrašnje skrol oblasti: tanke, a vidljive tek na prelaz mišem */
.map-side-list, .ads-side-body, .gf-body, .oc-body, .ds-body, .modal-main, .inbox-list, .chat-msgs, .screens, .rte-area, .table-wrap, .media-main, .legal-doc, .mega {
  scrollbar-width: thin; scrollbar-color: transparent transparent; transition: scrollbar-color .2s;
}
.map-side-list:hover, .ads-side-body:hover, .gf-body:hover, .oc-body:hover, .ds-body:hover, .modal-main:hover, .inbox-list:hover, .chat-msgs:hover, .screens:hover, .rte-area:hover, .table-wrap:hover, .media-main:hover {
  scrollbar-color: #b7c0d1 transparent;
}
:where(.map-side-list, .ads-side-body, .gf-body, .oc-body, .ds-body, .modal-main, .inbox-list, .chat-msgs, .screens, .rte-area, .table-wrap, .media-main)::-webkit-scrollbar { width: 8px; height: 8px; }
:where(.map-side-list, .ads-side-body, .gf-body, .oc-body, .ds-body, .modal-main, .inbox-list, .chat-msgs, .screens, .rte-area, .table-wrap, .media-main)::-webkit-scrollbar-track { background: transparent; }
:where(.map-side-list, .ads-side-body, .gf-body, .oc-body, .ds-body, .modal-main, .inbox-list, .chat-msgs, .screens, .rte-area, .table-wrap, .media-main)::-webkit-scrollbar-thumb { background: transparent; border: 2px solid transparent; background-clip: padding-box; border-radius: 10px; }
:where(.map-side-list, .ads-side-body, .gf-body, .oc-body, .ds-body, .modal-main, .inbox-list, .chat-msgs, .screens, .rte-area, .table-wrap, .media-main):hover::-webkit-scrollbar-thumb { background-color: #b7c0d1; }
:where(.map-side-list, .ads-side-body, .gf-body, .oc-body, .ds-body, .modal-main, .inbox-list, .chat-msgs, .screens, .rte-area, .table-wrap, .media-main)::-webkit-scrollbar-thumb:hover { background-color: var(--bordo); }

/* horizontalne trake na desktopu: tanka linija ispod, na prelaz mišem tamnija */
@media (hover: hover) {
  .fcar-track, .map-cities, .chip-tabs, .fcat-subs, .fk-subs, .tabs, .tabs-sm, .dash-mnav { scrollbar-width: thin !important; scrollbar-color: transparent transparent; padding-bottom: 8px; }
  .fcar-track:hover, .map-cities:hover, .chip-tabs:hover, .fcat-subs:hover, .fk-subs:hover, .tabs:hover, .tabs-sm:hover { scrollbar-color: #b7c0d1 transparent; }
  :where(.fcar-track, .map-cities, .chip-tabs, .fcat-subs, .fk-subs, .tabs, .tabs-sm)::-webkit-scrollbar { display: block !important; height: 6px; }
  :where(.fcar-track, .map-cities, .chip-tabs, .fcat-subs, .fk-subs, .tabs, .tabs-sm)::-webkit-scrollbar-thumb { background: transparent; border-radius: 6px; border: 0; }
  :where(.fcar-track, .map-cities, .chip-tabs, .fcat-subs, .fk-subs, .tabs, .tabs-sm):hover::-webkit-scrollbar-thumb { background: #b7c0d1; }
}
/* telefon: nativne trake se kriju, a skrol pokazuju senke i strelice */
@media (hover: none) {
  ::-webkit-scrollbar { width: 0; height: 0; }
  html { scrollbar-width: none; }
}

/* ---------- O nama ---------- */
.ab-hero { position: relative; color: #fff; overflow: hidden; background: var(--bordo); isolation: isolate; }
.ab-hero-bg { position: absolute; inset: 0; z-index: -2; background: url("https://upload.wikimedia.org/wikipedia/commons/thumb/b/b7/Surveyor_on_site.jpg/1920px-Surveyor_on_site.jpg") center 40%/cover; transform: scale(1.03); }
.ab-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8,14,30,.95) 0%, rgba(20,33,61,.86) 45%, rgba(20,33,61,.45) 100%); }
.ab-hero .container { padding: 70px 0 140px; }
.ab-hero .crumbs, .ab-hero .crumbs a { color: #c3cde0; }
.ab-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; color: #ff8a95; margin: 18px 0 14px; }
.ab-kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.ab-kicker.dark { color: var(--red); margin-top: 0; }
.ab-hero h1 { color: #fff; font-size: clamp(34px, 5.6vw, 68px); max-width: 860px; }
.ab-hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--red) 62%, var(--red) 92%, transparent 92%); padding: 0 .06em; }
.ab-lead { font-size: 19px; line-height: 1.7; color: #dbe2ee; max-width: 720px; margin: 18px 0 30px; }
.ab-hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }

.ab-stats-wrap { position: relative; z-index: 2; margin-top: -64px; }
.ab-stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.ab-stats div { padding: 28px 24px; text-align: center; border-left: 1px solid var(--line); }
.ab-stats div:first-child { border-left: 0; }
.ab-stats b { display: block; font-family: var(--display); font-size: clamp(28px, 3.4vw, 42px); color: var(--bordo); letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ab-stats span { font-size: 15px; color: var(--muted); font-weight: 600; }

.ab-sec { padding: 88px 0; }
.ab-head { max-width: 720px; margin-bottom: 36px; }
.ab-head h2 { margin-bottom: 8px; }
.ab-head p { color: var(--muted); font-size: 17px; margin: 0; }
.ab-mission { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.ab-mission h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; position: sticky; top: 110px; }
.ab-text p { font-size: 18px; line-height: 1.8; color: var(--ink-2); margin-bottom: 20px; }
.ab-text p:first-child::first-letter { float: left; font-family: var(--display); font-size: 64px; line-height: .9; margin: 6px 10px 0 0; color: var(--red); }

.ab-values-sec { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ab-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ab-values article { padding: 28px 24px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, background .25s; }
.ab-values article:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); background: #fff; }
.abv-ic { width: 56px; height: 56px; border-radius: 16px; background: var(--bordo); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.abv-ic svg.lucide { width: 26px; height: 26px; }
.ab-values h3 { font-size: 20px; margin-bottom: 8px; }
.ab-values p { font-size: 15.5px; color: var(--muted); margin: 0; line-height: 1.65; }

.ab-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ab-card { padding: 36px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.ab-card.dark { background: var(--bordo); color: #fff; border-color: var(--bordo); }
.ab-card.dark h3 { color: #fff; }
.ab-card.dark p, .ab-card.dark li { color: #dbe2ee; }
.abc-ic { width: 60px; height: 60px; border-radius: 18px; background: var(--brand-50); color: var(--bordo); display: grid; place-items: center; margin-bottom: 18px; }
.ab-card.dark .abc-ic { background: rgba(255,255,255,.12); color: #fff; }
.abc-ic svg.lucide { width: 28px; height: 28px; }
.ab-card h3 { font-family: var(--display); font-size: 26px; margin-bottom: 8px; }
.ab-card p { font-size: 17px; color: var(--muted); }
.ab-card ul { list-style: none; padding: 0; margin: 8px 0 28px; display: grid; gap: 12px; flex: 1; }
.ab-card li { display: flex; gap: 10px; font-size: 16px; line-height: 1.5; }
.ab-card li svg.lucide { width: 20px; height: 20px; color: var(--ok); flex-shrink: 0; margin-top: 2px; }
.ab-card.dark li svg.lucide { color: #4ade80; }
.ab-card .btn { align-self: flex-start; }

.ab-story-sec { background: var(--bordo); color: #fff; }
.ab-story { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.ab-story h2 { color: #fff; }
.ab-story-photo { min-height: 520px; border-radius: 22px; background: url("https://upload.wikimedia.org/wikipedia/commons/thumb/4/48/Total_station_construction_set-out_at_sunset.jpg/960px-Total_station_construction_set-out_at_sunset.jpg") center/cover; position: relative; box-shadow: 24px 24px 0 -2px var(--red); }
.ab-quote { position: absolute; left: 22px; right: 22px; bottom: 22px; background: rgba(255,255,255,.96); color: var(--ink); padding: 22px; border-radius: 16px; }
.ab-quote svg.lucide { color: var(--red); width: 28px; height: 28px; }
.ab-quote p { font-family: var(--display); font-size: 20px; line-height: 1.3; margin: 8px 0; }
.ab-quote span { font-size: 14px; color: var(--muted); font-weight: 600; }
.ab-timeline { list-style: none; padding: 0; margin: 28px 0 0; position: relative; }
.ab-timeline::before { content: ""; position: absolute; left: 70px; top: 8px; bottom: 8px; width: 2px; background: rgba(255,255,255,.18); }
.ab-timeline li { display: grid; grid-template-columns: 56px 1fr; gap: 32px; padding: 14px 0; position: relative; }
.ab-timeline li::before { content: ""; position: absolute; left: 64px; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--bordo); border: 3px solid #9fabc2; }
.ab-timeline li.now::before { background: var(--red); border-color: #fff; box-shadow: 0 0 0 6px rgba(230,57,70,.3); }
.ab-timeline b { font-family: var(--display); font-size: 17px; color: #ff8a95; padding-top: 2px; }
.ab-timeline h4 { color: #fff; font-size: 18px; margin: 0 0 4px; }
.ab-timeline p { color: #c3cde0; margin: 0; font-size: 15.5px; }

.ab-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; position: relative; }
.ab-steps > div { padding: 0 22px; position: relative; }
.ab-steps > div::after { content: ""; position: absolute; top: 26px; left: 76px; right: -22px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
.ab-steps > div:last-child::after { display: none; }
.ab-steps span { width: 54px; height: 54px; border-radius: 50%; background: #fff; border: 2px solid var(--bordo); color: var(--bordo); display: grid; place-items: center; font-family: var(--display); font-size: 20px; margin-bottom: 16px; position: relative; z-index: 1; }
.ab-steps h4 { font-size: 18px; margin: 0 0 6px; }
.ab-steps p { font-size: 15.5px; color: var(--muted); margin: 0; }

.ab-team-sec { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ab-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ab-team article { text-align: center; padding: 30px 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--bg); }
.avatar.xl { width: 96px; height: 96px; font-size: 28px; margin: 0 auto 14px; border-width: 3px; }
.ab-team h4 { margin: 0 0 4px; font-size: 18px; }
.ab-team span:not(.avatar) { display: block; font-size: 15px; color: var(--bordo); font-weight: 700; }
.ab-team em { font-style: normal; font-size: 14px; color: var(--muted); }

.ab-faq-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: start; }
.ab-faq { display: grid; gap: 10px; }
.ab-faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.ab-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 800; font-size: 17px; }
.ab-faq summary::-webkit-details-marker { display: none; }
.ab-faq summary svg.lucide { flex-shrink: 0; width: 22px; height: 22px; color: var(--red); transition: transform .25s; }
.ab-faq details[open] summary svg.lucide { transform: rotate(45deg); }
.ab-faq details[open] { border-color: var(--bordo); box-shadow: var(--shadow); }
.ab-faq details p { margin: 0; padding: 0 22px 20px; color: var(--ink-2); font-size: 16px; line-height: 1.7; }

.ab-cta { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0; border-radius: 24px; overflow: hidden; background: var(--bordo); color: #fff; }
.ab-cta > div:first-child { padding: 52px; background: radial-gradient(600px 300px at 0% 0%, rgba(230,57,70,.35), transparent 70%); }
.ab-cta h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); }
.ab-cta p { color: #c3cde0; font-size: 17.5px; margin-bottom: 26px; }
.ab-contact { padding: 52px 44px; background: rgba(255,255,255,.06); display: flex; flex-direction: column; gap: 14px; }
.ab-contact h4 { color: #fff; font-size: 18px; margin: 0 0 6px; }
.ab-contact a, .ab-contact > span { display: flex; align-items: center; gap: 10px; color: #dbe2ee; font-size: 16px; }
.ab-contact a:hover { color: #fff; }
.ab-contact svg.lucide { width: 20px; height: 20px; color: #ff8a95; }
.ab-social { display: flex; gap: 8px; margin-top: 8px; }
.ab-social .icon-btn { background: transparent; border-color: rgba(255,255,255,.2); color: #fff; }
.ab-social .icon-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }

@media (max-width: 1140px) {
  .ab-values, .ab-team { grid-template-columns: repeat(2, 1fr); }
  .ab-steps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .ab-steps > div:nth-child(2)::after { display: none; }
  .ab-story { gap: 40px; }
}
@media (max-width: 860px) {
  .ab-hero .container { padding: 40px 0 110px; }
  .ab-hero h1 br { display: none; }
  .ab-lead { font-size: 17px; }
  .ab-hero-cta .btn { width: 100%; }
  .ab-stats { grid-template-columns: 1fr 1fr; }
  .ab-stats div { padding: 20px 12px; }
  .ab-stats div:nth-child(3) { border-left: 0; }
  .ab-stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ab-stats span { font-size: 13.5px; }
  .ab-sec { padding: 60px 0; }
  .ab-mission, .ab-story, .ab-faq-wrap, .ab-two { grid-template-columns: 1fr; gap: 24px; }
  .ab-mission h2 { position: static; }
  .ab-text p { font-size: 16.5px; }
  .ab-card { padding: 26px 22px; border-radius: 18px; }
  .ab-card .btn { width: 100%; align-self: stretch; }
  .ab-story-photo { min-height: 340px; box-shadow: 12px 12px 0 -2px var(--red); }
  .ab-quote p { font-size: 17px; }
  .ab-timeline::before { left: 58px; }
  .ab-timeline li { grid-template-columns: 46px 1fr; gap: 28px; }
  .ab-timeline li::before { left: 52px; }
  .ab-timeline b { font-size: 15px; }
  .ab-steps { grid-template-columns: 1fr; }
  .ab-steps > div { display: grid; grid-template-columns: 54px 1fr; column-gap: 16px; padding: 0 0 22px; }
  .ab-steps > div span { grid-row: span 2; margin: 0; }
  .ab-steps > div::after { top: 56px; left: 26px; right: auto; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line-2) 0 6px, transparent 6px 12px); }
  .ab-steps > div:nth-child(2)::after { display: block; }
  .ab-steps > div:last-child::after { display: none; }
  .ab-team { gap: 10px; }
  .ab-team article { padding: 22px 12px; }
  .avatar.xl { width: 72px; height: 72px; font-size: 22px; }
  .ab-team h4 { font-size: 15.5px; }
  .ab-team span:not(.avatar) { font-size: 13.5px; }
  .ab-faq summary { font-size: 16px; padding: 16px 18px; }
  .ab-cta { grid-template-columns: 1fr; border-radius: 18px; }
  .ab-cta > div:first-child { padding: 32px 22px; }
  .ab-contact { padding: 26px 22px 30px; }
}
@media (max-width: 380px) {
  .ab-values, .ab-team { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .ab-timeline::before { left: 7px; }
  .ab-timeline li { grid-template-columns: 1fr; gap: 2px; padding: 12px 0 12px 32px; }
  .ab-timeline li::before { left: 0; top: 16px; }
  .ab-timeline b { font-size: 14px; padding: 0; }
}
