body.elementor-page-318:not(.elementor-motion-effects-element-type-background), body.elementor-page-318 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#f6f7f9;}:root{--page-title-display:none;}/* Start custom CSS *//* Janjić & partneri, draft stranica 318. Samo efekti i responsive korekcije koje native kontrole ne pokrivaju.
   Sve je ograničeno na #jp-site (wrapper stranice) i id-jeve sa prefiksom jp-. Breakpointi iz reference: 1100 / 1000 / 760 / 370. */
html:has(#jp-site) { scroll-behavior: smooth; scroll-padding-top: 100px; }
#jp-site { --jp-ease: cubic-bezier(.22,1,.36,1); -webkit-font-smoothing: antialiased; }
#jp-site ::selection { background: #c5a679; color: #142b43; }
#jp-site a { text-decoration: none; -webkit-tap-highlight-color: transparent; }
#jp-site :is(a, button, summary, input, textarea, select):focus-visible { outline: 2px solid #a47c43; outline-offset: 6px; }
#jp-site summary { list-style: none; }
#jp-site summary::-webkit-details-marker { display: none; }
#jp-skip:focus { top: 10px; }

/* Header */
#jp-nav-links a { position: relative; }
#jp-nav-links a::after { content: ""; position: absolute; left: 0; bottom: 1px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--jp-ease); }
#jp-nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
:is(#jp-header-cta, #jp-mm-cta):hover > div { background: #172d45; color: #f6f7f9; transform: rotate(45deg); }
#jp-menu-btn::after { content: ""; display: inline-block; width: 18px; height: 1px; background: currentColor; margin-left: 10px; vertical-align: middle; }

/* Tekstualni linkovi: strelica se pomera samo na interaktivnim kontrolama */
#jp-site a[href]:not(#jp-contact-orb) > span.e-paragraph-base { transition: transform .35s; }
#jp-site a[href]:not(#jp-contact-orb):hover > span.e-paragraph-base { transform: translate(5px, -5px); }

/* Slike: blagi gradijent na dnu radi čitljivosti natpisa */
:is(#jp-hero-art, #jp-r-detail-art)::after { content: ""; position: absolute; inset: 65% 0 0; background: linear-gradient(transparent, #142b4370); pointer-events: none; }
#jp-hero-stamp > .e-svg-base { animation: jp-rotate 35s linear infinite; transform-origin: 50% 50%; }
#jp-hero-stamp.is-paused > .e-svg-base { animation-play-state: paused; }

/* Oblasti prava: plus ikona i sadržaj */
#oblasti .e-accordion-item-icon-base > div { transition: transform .4s, background .4s; }
#oblasti .e-accordion-item-icon-base > div::before, #oblasti .e-accordion-item-icon-base > div::after { content: ""; position: absolute; left: 10px; right: auto; top: 15px; width: 10px !important; height: 1px; background: currentColor; }
#oblasti .e-accordion-item-icon-base > div::after { transform: rotate(90deg); }
#oblasti details[open] .e-accordion-item-icon-base > div { transform: rotate(45deg); background: #526b83; }
#oblasti details[open] > :not(summary) { animation: jp-detail .4s var(--jp-ease); }
#oblasti details > :not(summary) > div > p::before { content: "—"; margin-right: 12px; color: #c5a679; }

/* Česta pitanja: + / − */
#jp-faq-list .e-accordion-item-icon-base > div::before { content: "+"; position: absolute; inset: 0; width: auto !important; height: auto; background: none; display: flex; align-items: center; justify-content: center; font-family: Arial, Helvetica, sans-serif; font-size: 22px; font-weight: 300; line-height: 1; color: #172d45; }
#jp-faq-list details[open] .e-accordion-item-icon-base > div::before { content: "\2212"; }
#jp-faq-list details[open] > :not(summary) { animation: jp-detail .35s var(--jp-ease); }

/* Traka vrednosti */
#jp-marquee-track.is-looping { animation: jp-marquee 38s linear infinite; }
#jp-marquee:hover #jp-marquee-track, #jp-marquee.is-paused #jp-marquee-track { animation-play-state: paused; }

/* Ulazak pri skrolovanju: sakriva se tek kada skripta uspešno krene (html.jp-ready) */
#jp-site [id^="jp-r-"] { transition: opacity 1s var(--jp-ease), transform 1.15s var(--jp-ease); }
html.jp-ready #jp-site [id^="jp-r-"]:not(.is-visible) { opacity: 0; transform: translateY(34px); }
#jp-r-step-02 { transition-delay: .1s; }
#jp-r-step-03 { transition-delay: .2s; }

/* Uvod: naslov red po red, slika, opis */
#jp-hero-title .jp-line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
#jp-hero-title .jp-line > span { display: block; }
html.jp-js #jp-hero-title .jp-line > span { animation: jp-title 1.3s var(--jp-ease) both; }
html.jp-js #jp-hero-title .jp-line:nth-child(2) > span { animation-delay: .12s; }
html.jp-js #jp-hero-title .jp-line:nth-child(3) > span { animation-delay: .24s; }
html.jp-js #jp-hero-label { animation: jp-enter 1s .12s both; }
html.jp-js #jp-hero-desc, html.jp-js #jp-hero-copy > a { animation: jp-enter 1.2s .4s both; }
html.jp-js #jp-hero-art { animation: jp-art 1.5s var(--jp-ease) both; }
html.jp-js #jp-hero-art img { animation: jp-art-scale 2s var(--jp-ease) both; }

/* Kontakt prozor (popup). U editoru i bez skripte prikazuje se kao obična sekcija. */
html.jp-js body:not(.elementor-editor-active) #jp-upit { position: fixed; inset: 0; z-index: 9999; display: none; padding: 16px; background: rgba(16, 31, 53, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
html.jp-js body:not(.elementor-editor-active) #jp-upit.is-open { display: flex; }
#jp-upit.is-open #jp-upit-box { animation: jp-enter .45s var(--jp-ease); }
html.jp-lock, html.jp-lock body { overflow: hidden; }
#jp-form button[type="submit"]::after { content: "\2197\FE0E"; }
#jp-form :is(input, select, textarea)[aria-invalid="true"] { border-color: #a3261c; }
#jp-form .jp-field-error { margin: 0; font-family: Arial, Helvetica, sans-serif; font-size: 11px; line-height: 1.5; color: #a3261c; }
#jp-form .jp-field-error[hidden] { display: none !important; }
#jp-form select { -webkit-appearance: auto; appearance: auto; }

@keyframes jp-title { from { transform: translateY(115%) rotate(3deg); } to { transform: translateY(0) rotate(0); } }
@keyframes jp-enter { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes jp-art { from { clip-path: inset(8% 0 8% 100%); } to { clip-path: inset(0); } }
@keyframes jp-art-scale { from { transform: scale(1.15); } to { transform: scale(1); } }
@keyframes jp-rotate { to { transform: rotate(360deg); } }
@keyframes jp-marquee { to { transform: translateX(-50%); } }
@keyframes jp-detail { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* Naš pristup: donji paragrafi poravnati sa levom ivicom naslova iznad (ista kolona grida) */
@media (min-width: 1101px) {
  #jp-r-intro-bottom { margin-left: calc((100% - 50px) / 3.2 + 50px); max-width: min(760px, calc(100% - ((100% - 50px) / 3.2 + 50px))); }
}
@media (min-width: 761px) and (max-width: 1100px) {
  #jp-r-intro-bottom { margin-left: calc((100% - 30px) / 2.65 * .65 + 30px); max-width: min(650px, calc(100% - ((100% - 30px) / 2.65 * .65 + 30px))); }
}
@media (min-width: 1700px) {
  #jp-hero-art { width: 49%; }
  #jp-hero-copy { padding-left: 20px; }
}
@media (max-width: 1100px) {
  :is(#jp-nav, #jp-main, #pristup, #jp-oblasti-wrap, #jp-filozofija, #proces, #pitanja, #jp-kontakt-wrap) , #jp-footer > div { width: calc(100% - 64px); }
  #jp-nav-links { gap: 23px; }
  #jp-main { max-height: 900px; }
  #jp-hero-title { font-size: 10vw; }
  #jp-hero-art { width: 46%; top: 45px; bottom: 40px; }
  #jp-hero-label p { font-size: 8px; }
  #jp-hero-stamp { width: 85px; height: 85px; right: 8px; }
  #pristup > :nth-child(2) { grid-template-columns: .65fr 2fr; gap: 30px; }
  #jp-filozofija { gap: 6vw; }
  #jp-r-detail-art { height: 550px; }
  #oblasti summary .e-flexbox-base > :first-child { width: 45px; flex-basis: 45px; }
  #oblasti summary .e-flexbox-base > :last-child { width: 160px; flex-basis: 160px; }
  #oblasti .e-accordion-item-icon-base { width: 35px; flex-basis: 35px; }
  #oblasti details > :not(summary) { padding-left: 65px; }
  #jp-contact-orb { width: 120px; height: 120px; flex-basis: 120px; }
  #jp-contact-orb > span { font-size: 48px; }
  #pitanja { gap: 45px; }
}
@media (max-width: 1000px) and (min-width: 761px) {
  #jp-nav-links { gap: 18px; }
  #jp-nav-links a, #jp-header-cta p { font-size: 11px; }
  #jp-header-cta { gap: 12px; }
  #jp-header-logo p:first-child { font-size: 26px; }
  #jp-header-logo p:last-child { font-size: 6px; }
}
@media (max-width: 760px) {
  html:has(#jp-site) { scroll-padding-top: 30px; }
  :is(#jp-nav, #jp-main, #pristup, #jp-oblasti-wrap, #jp-filozofija, #proces, #pitanja, #jp-kontakt-wrap) , #jp-footer > div { width: calc(100% - 40px); }
  #jp-nav { height: 80px; }
  #jp-header-logo p:first-child { font-size: 26px; }
  #jp-nav-links, #jp-header-cta { display: none; }
  #jp-menu-btn { display: inline-flex; align-items: center; }
  #jp-mobile-menu { display: flex; position: fixed; inset: 80px 0 0 0; z-index: 79; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .3s, transform .3s, visibility .3s; }
  #jp-mobile-menu.is-open { visibility: visible; opacity: 1; transform: none; }
  #jp-mm-cta { margin-top: 20px; width: 100%; justify-content: space-between; }
  #jp-main { height: auto; min-height: 0; max-height: none; padding-top: 80px; }
  #jp-main > div { height: auto; display: block; padding-top: 37px; }
  #jp-hero-copy { padding-top: 0; }
  #jp-hero-label { margin-bottom: 25px; gap: 15px; }
  #jp-hero-label > div { width: 26px; min-width: 26px; flex-basis: 26px; }
  #jp-hero-title { font-size: clamp(75px, 14vw, 108px); line-height: .95; margin-left: -3px; max-width: 90%; }
  #jp-hero-desc { font-size: 12px; max-width: 260px; margin: 24px 0 22px; }
  #jp-hero-art { position: relative; width: 100%; height: 440px; top: auto; bottom: auto; right: auto; margin: 34px 0 0; }
  #jp-hero-art img { height: 115%; top: -7%; }
  #jp-hero-stamp { top: auto; bottom: 395px; right: 12px; transform: none; width: 82px; height: 82px; }
  #pristup { padding: 40px 0 65px; margin-top: 36px; }
  #jp-site [id^="jp-r-"][id$="-top"] { margin-bottom: 38px; }
  #jp-r-pristup-top { margin-bottom: 30px; }
  #pristup > :nth-child(2) { display: block; }
  #jp-r-intro-mark { display: none; }
  #jp-r-intro-text { font-size: 37px; }
  #jp-r-intro-bottom { grid-template-columns: 1fr; gap: 25px; margin-top: 30px; }
  #jp-r-intro-bottom > div p:first-child { font-size: 22px; }
  #jp-r-intro-bottom > p { max-width: none; }
  #oblasti { padding: 60px 0 65px; }
  #jp-r-oblasti-top { margin-bottom: 35px; }
  #jp-exp-top { display: block; margin-bottom: 38px; }
  #jp-r-exp-title { font-size: 57px; }
  #jp-r-exp-intro { margin-top: 25px; max-width: 300px; }
  #oblasti summary { gap: 10px; padding: 24px 0; }
  #oblasti summary .e-flexbox-base { gap: 10px; }
  #oblasti summary .e-flexbox-base > :first-child { width: 25px; flex-basis: 25px; }
  #oblasti summary .e-flexbox-base > :last-child { display: none; }
  #oblasti summary h3 { font-size: 27px; }
  #oblasti .e-accordion-item-icon-base { width: 28px; flex-basis: 28px; }
  #oblasti .e-accordion-item-icon-base > div { width: 28px; height: 28px; min-width: 28px; }
  #oblasti .e-accordion-item-icon-base > div::before, #oblasti .e-accordion-item-icon-base > div::after { left: 8px; top: 13px; }
  #oblasti details > :not(summary) { grid-template-columns: 1fr; padding: 0 0 24px 35px; gap: 15px; }
  #jp-filozofija { padding: 70px 0; grid-template-columns: 1fr; gap: 45px; }
  #jp-r-detail-art { height: 470px; }
  #jp-r-filo-title { font-size: clamp(48px, 15vw, 62px); margin-top: 24px; }
  #jp-r-filo-body { max-width: none; }
  #jp-r-values { margin-top: 25px; }
  #jp-marquee { padding: 29px 0 32px; }
  #jp-marquee-track > div { gap: 30px; padding-right: 30px; }
  #jp-marquee-track > div > span { font-size: 70px; }
  #jp-marquee-track > div > div { width: 42px; height: 42px; flex-basis: 42px; }
  #proces { padding: 70px 0; }
  #jp-r-proces-top { margin-bottom: 35px; }
  #jp-proc-top { display: block; margin-bottom: 35px; }
  #jp-r-proc-title { font-size: 56px; }
  #jp-r-proc-intro { margin-top: 24px; max-width: 300px; }
  #jp-steps { grid-template-columns: 1fr; gap: 32px; }
  #jp-steps > div > p:first-child { margin-bottom: 18px; }
  #jp-steps > div > p:last-child { max-width: 100%; }
  #jp-steps h3 { font-size: 29px; }
  #pitanja { padding-bottom: 70px; grid-template-columns: 1fr; gap: 35px; }
  #jp-faq-list summary p { font-size: 13px; }
  #kontakt { padding: 55px 0 35px; }
  #jp-r-kontakt-top { margin-bottom: 36px; }
  #jp-r-contact-main { display: block; position: relative; }
  #jp-contact-title { font-size: clamp(50px, 14vw, 85px); }
  #jp-contact-orb { position: absolute; right: 0; bottom: 0; width: 54px; height: 54px; margin: 0; }
  #jp-contact-orb > span { font-size: 26px; }
  #jp-r-contact-bottom { margin-top: 42px; display: block; }
  #jp-r-contact-bottom > a { margin-top: 25px; }
  #jp-footer-top { align-items: flex-start; margin-bottom: 30px; gap: 20px; }
  #jp-footer-logo p:first-child { font-size: 28px; }
  #jp-footer-links { flex-direction: column; gap: 15px; }
  #jp-footer-bottom p { font-size: 8px; max-width: 250px; }
  #jp-upit-box { padding: 35px 24px; }
  #jp-upit-title { font-size: 42px; }
  #jp-form-row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 370px) {
  #jp-header-logo p:first-child { font-size: 23px; }
  #jp-footer-top { flex-direction: column; gap: 26px; }
  #jp-footer-links { flex-direction: row; gap: 20px; }
  #jp-contact-orb { width: 44px; height: 44px; }
  #jp-contact-orb > span { font-size: 23px; }
  #jp-contact-title { font-size: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(#jp-site) { scroll-behavior: auto; }
  #jp-site *, #jp-site *::before, #jp-site *::after { animation: none !important; transition: none !important; }
  html.jp-ready #jp-site [id^="jp-r-"]:not(.is-visible) { opacity: 1; transform: none; }
}/* End custom CSS */