/* R20 — corrections from owner-marked R19 desktop/mobile screenshots.
   No Production deploy, no BORG navigation/analytics/lead route change. */
/* Stronger and clearer section titles without visual overflow. */
#primjene-title{font-size:clamp(29px,3.0vw,43px);line-height:1.15;max-width:650px;text-wrap:balance}
#ghost-references-title{font-size:clamp(25px,2.8vw,39px);letter-spacing:-.02em;max-width:820px;text-wrap:balance}
/* The accessibility skip link was visible in an old QA screenshot due to
   retained keyboard focus. It remains functional but no longer looks like
   a white error/tooltip when intentionally focused. */
.skip{top:auto;left:-10000px;border:1px solid #ffab49;border-radius:8px;
  background:#0c1115;color:#fff2df;box-shadow:0 0 22px #ff8d0558;
  font-size:15px;font-weight:750;padding:12px 17px;z-index:1000}
.skip:focus,.skip:focus-visible{top:10px;left:10px}
/* Header less bulky: preserves the existing BORG trigger/desktop nav. */
.site-header,.header-in{min-height:72px}
.site-header{background:linear-gradient(90deg,rgba(8,10,12,.95),rgba(6,8,10,.90));backdrop-filter:blur(7px)}
.site-header .brand.ghost-brand-r19{font-size:clamp(23px,2vw,33px)}
.site-header .ghost-brand-r19>small{margin-top:4px!important;font-size:8px!important}
.site-header .header-contact{min-height:44px;font-size:14px;padding:8px 17px}
/* Keep the selected city panorama legible BEHIND the entire carousel.
   The panel was effectively opaque (#06090bf0), masking the photo. */
.final-cta.final-cinematic-r17{background-image:
  linear-gradient(180deg,rgba(2,4,6,.55) 0%,rgba(2,4,7,.33) 25%,rgba(2,4,7,.13) 50%,rgba(2,4,7,.30) 78%,rgba(2,4,7,.45) 100%),
  url('panorama-desktop.webp');
  background-position:center center,center center;
  background-size:100% 100%,cover}
.ghost-reference-showcase{
  background:linear-gradient(180deg,rgba(2,5,8,.52),rgba(3,6,9,.38) 54%,rgba(3,5,8,.51));
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  border-color:rgba(255,148,49,.31);
  box-shadow:0 0 25px #0007,inset 0 1px #ffbd6540}
.ghost-ref-card{background:linear-gradient(160deg,rgba(11,17,21,.90),rgba(6,9,12,.87));
  box-shadow:0 12px 25px #000c,inset 0 1px #ffddaa21}
.ghost-reference-showcase .ghost-references-head p{color:#f0e6dd;text-shadow:0 2px 8px #000,0 0 14px #000}
.ghost-ref-copy{background:linear-gradient(180deg,rgba(8,12,15,.90),rgba(6,8,11,.82));}
/* Visual hierarchy: clean duplicate CTA area while preserving functional CTA. */
.final-cinematic-r17 .final-words{opacity:.65;letter-spacing:.14em}
@media(max-width:850px){
 .site-header,.header-in{min-height:60px}
 .final-cta.final-cinematic-r17{background-position:center center, center center}
}
@media(max-width:600px){
 html{scroll-padding-top:62px}
 .site-header,.header-in{min-height:56px!important}
 .site-header .header-in{padding:3px 0;gap:8px}
 .site-header .brand.ghost-brand-r19{font-size:24px!important;letter-spacing:.005em}
 .site-header .ghost-brand-r19>small{font-size:7px!important;letter-spacing:.055em!important;line-height:1.1;margin-top:3px!important}
 .site-header .header-contact{display:none!important}
 .site-header .borg-nav-trigger{min-height:44px;min-width:44px;margin-left:auto}
 #primjene-title{font-size:clamp(25px,7.7vw,34px);letter-spacing:.01em;line-height:1.15}
 #ghost-references-title{font-size:clamp(25px,7.1vw,31px);line-height:1.18}
 /* Cropped calculator formerly hid the right half of m² 14,40.
    Use a complete, non-cropped image ABOVE the textual card controls. */
 .next-card{display:block;min-height:0;overflow:hidden}
 .next-card::before{z-index:0;background:linear-gradient(180deg,rgba(3,6,8,.07) 0%,rgba(4,7,9,.13) 34%,#050709f2 58%,#050709fa 100%)}
 .next-card:first-child::after,.next-card:nth-child(2)::after{
    left:0;right:0;top:0;width:100%;height:clamp(180px,55vw,225px);
    opacity:1;filter:contrast(1.08) saturate(1.06);
    mask-image:linear-gradient(to bottom,#000 0 72%,transparent 99%);
    background-size:100% auto;background-position:center top;
    background-repeat:no-repeat}
 .next-card .next-card-content{padding:clamp(186px,55vw,228px) 18px 23px!important;max-width:100%!important;position:relative;z-index:3}
 .next-card h3{font-size:23px;line-height:1.2;margin-bottom:9px}
 .next-card h3 strong{font-size:24px}
 .next-card p{max-width:none;font-size:14px!important;line-height:1.5;margin-bottom:17px}
 .next-card .btn{min-height:48px;width:100%;font-size:14px;padding:12px}
 .next-card .card-icon{width:43px;height:43px}
 .next-card:nth-child(2) .card-icon{margin-top:0}
 /* Ensure all four key media slots remain clear and tall on phones. */
 .use-card>img,.step-card>img {opacity:1!important;display:block!important;visibility:visible!important}
 .use-card:nth-child(4)>img{object-fit:contain;object-position:center;padding:4px;}
 .step-card>img{min-height:150px;height:166px;object-fit:cover}
 .ghost-reference-showcase{padding:25px 0 22px;background:linear-gradient(180deg,rgba(2,4,7,.34),rgba(2,4,7,.19) 44%,rgba(3,5,8,.34));}
 .ghost-ref-copy{background:linear-gradient(180deg,rgba(5,9,13,.93),rgba(5,8,10,.88))}
 .final-cta.final-cinematic-r17{background-image:
  linear-gradient(180deg,rgba(2,4,7,.59),rgba(2,4,7,.34) 27%,rgba(2,4,7,.20) 55%,rgba(2,4,7,.40)),
  url('panorama-desktop.webp')!important;
  background-size:100% 100%,cover!important;
  background-position:center center,center bottom!important;
  padding-bottom:0}
 .final-cinematic-r17 .final-in{padding:30px 0 55px;}
}
@media(max-width:360px){
 .site-header .brand.ghost-brand-r19{font-size:22px!important}
 .next-card .next-card-content{padding-top:188px!important}
 .next-card:first-child::after,.next-card:nth-child(2)::after{height:184px}
}
@media(prefers-reduced-motion:reduce){.site-header,.ghost-ref-card{transition:none}}
/* Mobile step images: stop cropping a 1200x500 panorama into a 150x166
   narrow slot; image is part of the instruction, not decoration. */
@media(max-width:600px){
 .steps-grid{gap:27px}
 .step-card{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:10px 10px 17px}
 .step-card>img{width:100%!important;height:auto!important;aspect-ratio:12 / 5;
   object-fit:cover!important;object-position:center;max-height:none!important;
   min-height:0!important;grid-row:auto;display:block}
 .step-card h3{font-size:19px;line-height:1.27;margin:14px 7px 8px!important}
 .step-card p{font-size:14px!important;line-height:1.51;margin:0 7px 4px!important}
 .step-num{z-index:5}
}
