/* ================================================================
   A18 „Lepeza“ vizuelni jezik preko Exos teme: skoro crna podloga,
   Sora, FFF plava, pill dugmad. Učitava se POSLE theme CSS-a.
   ================================================================ */
:root {
  --fff-primary: #1f85c7;
  --fff-primary-2: #7ccbf7;
  --fff-bg: #050608;
  --fff-card: #0b0e13;
  --fff-line: rgba(255,255,255,.12);
  --fff-muted: #9aa3ad;
}

/* Fontovi */
body { font-family: 'Sora', system-ui, sans-serif; -webkit-font-smoothing: antialiased; background: var(--fff-bg); }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .menu__link, .button, .stats__number, .bes-headline { font-family: 'Sora', sans-serif; }
h1, .h1, h2, .h2 { font-weight: 800; letter-spacing: -.03em; }
h3, .h3, h4, .h4 { font-weight: 700; letter-spacing: -.02em; }
.menu__link { font-weight: 600; letter-spacing: 0; text-transform: none; }
.button { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 16px; letter-spacing: 0; text-transform: none; border-radius: 999px; }

/* Dugmad: plava puna + bela na hover */
.button-wrapper, .buttonMod { --hover-color: #000000 !important; --hover-background: #ffffff !important; --hover-border: #ffffff !important; }
.button:hover, .button:focus-visible { background: #fff !important; color: #000 !important; border-color: #fff !important; }
.button-primary { background: var(--fff-primary); border-color: var(--fff-primary); color: #fff; }

/* Header: crn, poslednja stavka desnog menija kao pill CTA */
.header__row--2 { background: #050608 !important; border-bottom: 1px solid var(--fff-line); }
.sticky .header__row--2 { background: #050608 !important; }
.header__logo img { width: 100px !important; height: auto; }
.header__navigation-main { border-color: var(--fff-line) !important; }
.header__navigation-extra .menu__item--depth-1:last-child { display: flex; align-items: center; }
.header__navigation-extra .menu__item--depth-1:last-child > .menu__link { border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 10px 20px !important; height: auto !important; line-height: 1.2; }
.header__navigation-extra .menu__item--depth-1:last-child > .menu__link:hover { background: #fff; color: #000 !important; }
.menu__submenu, .header .menu__submenu { background: #0b0e13 !important; }

/* Kartice / površine sa navy pozadinom -> tamne kartice */
.post-card, .blog-listing__card, .testimonialCardSlider-slide { border-radius: 20px; }

/* Selekcija, fokus */
::selection { background: var(--fff-primary); color: #fff; }
:focus-visible { outline: 2px solid var(--fff-primary-2); outline-offset: 3px; }

/* ---------- Forme (zamena za HubSpot forme) ---------- */
.fff-form .hs-form-field { margin-bottom: 18px; }
.fff-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: inherit; }
.fff-form .hs-form-required { color: var(--fff-primary); margin-left: 3px; }
.fff-form .hs-input, .fff-form select, .fff-form textarea { width: 100%; padding: 14px 16px; border: 1px solid #cfd6de; border-radius: 12px; background: #fff; color: #000; font: inherit; font-size: 16px; }
.fff-form .hs-input:focus { border-color: var(--fff-primary); outline: none; box-shadow: 0 0 0 3px rgba(31,133,199,.2); }
.fff-form input[type=radio].hs-input, .fff-form input[type=checkbox].hs-input, .fff-form input[type=checkbox] { width: 18px; height: 18px; padding: 0; margin: 0 10px 0 0; vertical-align: middle; accent-color: var(--fff-primary); }
.fff-form .form-columns-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 600px) { .fff-form .form-columns-2 { grid-template-columns: 1fr; } }
.fff-form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.fff-form legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.fff-form .inputs-list { list-style: none; margin: 0; padding: 0; }
.fff-form .inputs-list li { margin: 0 0 8px; }
.fff-form .inputs-list label { display: flex; align-items: center; font-weight: 400; margin: 0; }
.fff-form .legal-consent-container label { display: flex; align-items: flex-start; font-weight: 400; font-size: 14px; }
.fff-form .legal-consent-container p { margin: 0; font-size: 14px; }
.fff-form .hs-button { background: var(--fff-primary); color: #fff; border: 2px solid var(--fff-primary); border-radius: 999px; padding: 15px 34px; font-family: 'Sora', sans-serif; font-weight: 600; font-size: 16px; cursor: pointer; transition: .2s; min-width: 180px; }
.fff-form .hs-button:hover { background: #000; border-color: #000; color: #fff; }
.fff-form .hs-button[disabled] { opacity: .6; cursor: wait; }
.fff-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.fff-form-msg { min-height: 0; color: #d33; font-size: 14px; margin: -6px 0 12px; }
.fff-form-msg:empty { display: none; }
.fff-form .hs-input.is-invalid { border-color: #d33; }
.fff-form-success { padding: 30px 0; }
.buttonMod-modal-form .fff-form-wrap { max-height: 70vh; overflow-y: auto; padding-right: 6px; }
.buttonMod-modal-inner { border-radius: 24px; }

/* Newsletter u footeru */
.bes-subscribe .fff-newsletter { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; position: relative; }
.bes-subscribe .fff-newsletter .hs-email { order: 1; width: calc(100% - 80px); margin-bottom: 0; }
.bes-subscribe .fff-newsletter .hs-email .hs-input { background: transparent; border: 0; border-bottom: 1px solid #c4c4c4; border-radius: 0; color: #fff; height: 60px; padding: 0; }
.bes-subscribe .fff-newsletter .hs-email .hs-input::placeholder { color: #999; }
.bes-subscribe .fff-newsletter .hs-submit { order: 2; width: 60px; margin-top: 0; }
.bes-subscribe .fff-newsletter .hs-submit input { width: 56px; height: 56px; border: 1px solid #fff; border-radius: 999px; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='23' height='18' viewBox='0 0 23 18' fill='none'%3E%3Cpath d='M13.7963 17.2038L22.0001 8.99995L13.7963 0.796143M21.4715 9.01596L0.141602 9.01595' stroke='%23fff' stroke-miterlimit='10'/%3E%3C/svg%3E") center/22px no-repeat; color: transparent; font-size: 0; cursor: pointer; padding: 0; min-width: 0; }
.bes-subscribe .fff-newsletter .hs-submit input:hover { background-color: var(--fff-primary); border-color: var(--fff-primary); }
.bes-subscribe .fff-newsletter .legal-consent-container { order: 3; width: 100%; margin-top: 14px; }
.bes-subscribe .fff-newsletter .legal-consent-container label { color: #999; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.bes-subscribe .fff-newsletter .legal-consent-container input { width: 20px; height: 20px; flex: 0 0 20px; margin: 0; accent-color: var(--fff-primary); }
.bes-subscribe .fff-form-msg { order: 4; width: 100%; }
.bes-subscribe .fff-form-success { color: #fff; padding: 20px 0; }

/* ---------- Video (zamena za Wistia) ---------- */
.fff-video { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.fff-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.wistia_responsive_padding, .iframe_wrapper { position: relative; }
.video-inline-popup-modal .fff-video, .video-popup-inner .fff-video { max-height: 90vh; }

/* ---------- Cookie traka ---------- */
.fff-cookie[hidden], .fff-toast[hidden], .fff-form-success[hidden], .fff-form[hidden] { display: none !important; }
.fff-cookie { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 99998; display: flex; justify-content: center; }
.fff-cookie__inner { background: var(--fff-card); color: #fff; border: 1px solid var(--fff-line); border-radius: 20px; padding: 18px 22px; max-width: 900px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; box-shadow: 0 20px 60px rgba(0,0,0,.6); font-size: 15px; }
.fff-cookie__inner p { margin: 0; flex: 1 1 380px; }
.fff-cookie__inner a { color: var(--fff-primary-2); text-decoration: underline; }
.fff-cookie__actions { display: flex; gap: 10px; }
.fff-cookie__actions .button { padding: 10px 20px; font-size: 15px; min-width: 0; }
.fff-cookie__actions .button-secondary-white-text { border: 1px solid #fff; color: #fff; border-radius: 999px; }

/* ---------- Toast ---------- */
.fff-toast { position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%); background: var(--fff-primary); color: #fff; padding: 12px 22px; border-radius: 999px; z-index: 99999; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.35); }

/* ---------- Kviz ---------- */
.quiz_content .block .small.selected { border-color: var(--fff-primary); background: #eaf4fb; }
.quiz_content .top_progress .top { transition: width .3s; }
.quiz_content .top_progress .back { cursor: pointer; }
.fff-quiz-result__eyebrow { color: var(--fff-primary); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.fff-quiz-result__title { font-size: 40px; margin-bottom: 16px; }
.fff-quiz-result__tip { font-weight: 600; }
.form_sec .right_part .fff-form label { color: #000; }

/* ---------- Sitne korekcije ---------- */
.hs-image-widget { max-width: 100%; height: auto; }
main img[src=""] { display: none; }
