
/* Spencer Support — B2B IT landing page */

:root{
  --b2b-navy:#071d3c;
  --b2b-navy-2:#0a2d58;
  --b2b-blue:#1287f8;
  --b2b-blue-2:#0a6fe8;
  --b2b-yellow:#ffc629;
  --b2b-ink:#102b46;
  --b2b-muted:#61778d;
  --b2b-soft:#f4f8fc;
  --b2b-line:#dce7f2;
}

html{scroll-behavior:smooth}
body.b2b-page{background:#fff;color:var(--b2b-ink)}
.b2b-page .container{width:min(1180px,calc(100% - 40px));margin-inline:auto}

.b2b-header{
  background:rgba(255,255,255,.97);
  border-bottom:1px solid rgba(7,29,60,.08);
  box-shadow:0 8px 30px rgba(7,29,60,.04);
}
.b2b-header .nav a{white-space:nowrap}

.b2b-hero{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 84% 12%,rgba(18,135,248,.26),transparent 30%),
    radial-gradient(circle at 12% 92%,rgba(255,198,41,.10),transparent 28%),
    linear-gradient(112deg,#04172e 0%,#082b56 56%,#0d4784 100%);
  color:#fff;
}
.b2b-hero::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:34px 34px;
  mask-image:linear-gradient(to right,transparent,black 55%,black);
}
.b2b-hero-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(380px,.92fr);
  gap:62px;
  align-items:center;
  min-height:650px;
  padding-top:76px;
  padding-bottom:76px;
}
.b2b-kicker{
  display:inline-flex;
  align-items:center;
  gap:9px;
  font-size:12px;
  line-height:1;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#9dceff;
}
.b2b-kicker::before{
  content:"";
  width:30px;
  height:3px;
  border-radius:2px;
  background:var(--b2b-yellow);
}
.b2b-kicker.dark{color:var(--b2b-blue-2)}
.b2b-hero h1{
  max-width:760px;
  margin:17px 0 16px;
  font-size:clamp(46px,5.25vw,74px);
  line-height:.98;
  letter-spacing:-.045em;
  color:#fff;
}
.b2b-subtitle{
  max-width:740px;
  margin:0 0 20px;
  font-size:clamp(20px,2vw,27px);
  line-height:1.35;
  color:#dbeaff;
  font-weight:700;
}
.b2b-only-note{
  display:inline-flex;
  margin:0 0 20px;
  padding:10px 14px;
  border:1px solid rgba(255,198,41,.48);
  border-radius:10px;
  background:rgba(255,198,41,.11);
  color:#ffe69a;
  font-size:13px;
  font-weight:900;
}
.b2b-lead{
  max-width:720px;
  margin:0;
  color:#d6e6f6;
  font-size:17px;
  line-height:1.7;
}
.b2b-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:29px;
}
.b2b-actions.centered{justify-content:center}
.b2b-micro{
  display:flex;
  flex-wrap:wrap;
  gap:17px;
  margin-top:22px;
  color:#cfe2f5;
  font-size:13px;
  font-weight:700;
}
.b2b-micro span::first-letter{color:var(--b2b-yellow)}

.b2b-hero-panel{
  border:1px solid rgba(255,255,255,.15);
  border-radius:24px;
  background:rgba(255,255,255,.075);
  box-shadow:0 34px 90px rgba(0,0,0,.25);
  backdrop-filter:blur(12px);
  overflow:hidden;
}
.b2b-panel-top{padding:24px 25px 17px;border-bottom:1px solid rgba(255,255,255,.10)}
.b2b-panel-top strong{display:block;margin-top:12px;font-size:24px}
.b2b-panel-top small{display:block;margin-top:4px;color:#bcd5ed;font-size:13px}
.b2b-panel-badge{
  display:inline-block;
  padding:7px 9px;
  border-radius:7px;
  background:var(--b2b-yellow);
  color:#332700;
  font-size:10px;
  font-weight:950;
  letter-spacing:.11em;
}
.b2b-network-visual{
  position:relative;
  min-height:225px;
  overflow:hidden;
  background:linear-gradient(180deg,rgba(255,255,255,.02),rgba(0,0,0,.06));
}
.b2b-network-visual .node{
  position:absolute;
  z-index:2;
  display:grid;
  place-items:center;
  width:58px;
  height:58px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.18);
  background:#0e4a88;
  color:#fff;
  box-shadow:0 12px 28px rgba(0,0,0,.18);
  font-size:12px;
  font-weight:950;
}
.b2b-network-visual .n5{
  left:50%;
  top:50%;
  width:72px;
  height:72px;
  transform:translate(-50%,-50%);
  border-color:rgba(255,198,41,.48);
  background:#092f5d;
  color:var(--b2b-yellow);
  font-size:18px;
}
.n1{left:13%;top:20%}.n2{right:13%;top:20%}.n3{left:17%;bottom:14%}.n4{right:17%;bottom:14%}
.b2b-network-visual .line{
  position:absolute;
  z-index:1;
  left:50%;
  top:50%;
  width:145px;
  height:2px;
  transform-origin:left center;
  background:linear-gradient(90deg,rgba(255,198,41,.75),rgba(18,135,248,.2));
}
.b2b-network-visual .l1{transform:rotate(-150deg)}
.b2b-network-visual .l2{transform:rotate(-30deg)}
.b2b-network-visual .l3{transform:rotate(150deg)}
.b2b-network-visual .l4{transform:rotate(30deg)}
.b2b-panel-lines{display:grid;gap:10px;padding:20px 25px 24px}
.b2b-panel-lines div{display:flex;gap:9px;color:#d8e7f6;font-size:13px}
.b2b-panel-lines span{color:var(--b2b-yellow);font-weight:950}

.b2b-strip{
  border-bottom:1px solid var(--b2b-line);
  background:#fff7db;
}
.b2b-strip .container{
  display:flex;
  justify-content:center;
  gap:18px;
  flex-wrap:wrap;
  padding-top:16px;
  padding-bottom:16px;
  text-align:center;
  color:#5b4700;
  font-size:13px;
}
.b2b-strip strong{font-weight:950}
.b2b-strip span{color:#76642a}

.b2b-section{padding:86px 0}
.b2b-section-head{max-width:780px;margin-bottom:35px}
.b2b-section-head h2,.b2b-two-col h2,.b2b-model h2,.b2b-lead-copy h2{
  margin:12px 0 14px;
  color:var(--b2b-navy);
  font-size:clamp(32px,3.5vw,48px);
  line-height:1.08;
  letter-spacing:-.03em;
}
.b2b-section-head p,.b2b-two-col p,.b2b-model p,.b2b-lead-copy p{
  color:var(--b2b-muted);
  font-size:16px;
  line-height:1.7;
}

.b2b-services{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.b2b-services article{
  position:relative;
  min-height:245px;
  padding:25px 22px 23px;
  border:1px solid var(--b2b-line);
  border-radius:17px;
  background:#fff;
  box-shadow:0 12px 34px rgba(7,29,60,.05);
}
.b2b-services article::after{
  content:"";
  position:absolute;
  left:22px;
  bottom:0;
  width:45px;
  height:4px;
  border-radius:4px 4px 0 0;
  background:var(--b2b-yellow);
}
.service-no{
  display:inline-grid;
  place-items:center;
  width:37px;
  height:37px;
  border-radius:10px;
  background:#eaf4ff;
  color:var(--b2b-blue-2);
  font-size:12px;
  font-weight:950;
}
.b2b-services h3{margin:19px 0 10px;color:var(--b2b-navy);font-size:18px;line-height:1.24}
.b2b-services p{margin:0;color:var(--b2b-muted);font-size:14px;line-height:1.58}

.b2b-audience-section{background:var(--b2b-soft)}
.b2b-two-col{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:75px;
  align-items:center;
}
.b2b-audience-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.b2b-audience-grid div{
  position:relative;
  padding:18px 18px 18px 48px;
  border:1px solid var(--b2b-line);
  border-radius:13px;
  background:#fff;
  color:#173c61;
  font-weight:850;
}
.b2b-audience-grid div::before{
  content:"✓";
  position:absolute;
  left:17px;
  top:16px;
  display:grid;
  place-items:center;
  width:22px;
  height:22px;
  border-radius:50%;
  background:#eaf4ff;
  color:var(--b2b-blue-2);
  font-weight:950;
}

.b2b-process-section{
  background:linear-gradient(112deg,#061b36,#0a315f);
  color:#fff;
}
.b2b-process-section .b2b-section-head h2{color:#fff}
.b2b-process{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:15px;
}
.b2b-process article{
  position:relative;
  min-height:215px;
  padding:23px;
  border:1px solid rgba(255,255,255,.11);
  border-radius:17px;
  background:rgba(255,255,255,.06);
}
.b2b-process article>span{
  display:grid;
  place-items:center;
  width:43px;
  height:43px;
  border-radius:12px;
  background:var(--b2b-yellow);
  color:#332700;
  font-weight:950;
}
.b2b-process h3{margin:18px 0 8px;color:#fff;font-size:19px}
.b2b-process p{margin:0;color:#c7d9eb;font-size:14px;line-height:1.6}

.b2b-model{padding:76px 0;background:#fff}
.b2b-model-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(400px,.9fr);
  gap:65px;
  align-items:center;
}
.b2b-model-cards{display:grid;gap:10px}
.b2b-model-cards div{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:center;
  padding:17px 19px;
  border:1px solid var(--b2b-line);
  border-radius:12px;
  background:#f9fbfd;
}
.b2b-model-cards strong{color:var(--b2b-navy)}
.b2b-model-cards span{color:var(--b2b-muted);font-size:13px;text-align:right}

.b2b-lead-section{
  padding:88px 0;
  border-top:1px solid var(--b2b-line);
  background:var(--b2b-soft);
}
.b2b-lead-grid{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(430px,1.1fr);
  gap:58px;
  align-items:start;
}
.b2b-contact-box{
  display:grid;
  gap:11px;
  margin-top:28px;
}
.b2b-contact-box>a,.b2b-contact-box>div{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:center;
  padding:15px 17px;
  border:1px solid var(--b2b-line);
  border-radius:12px;
  background:#fff;
  color:var(--b2b-ink);
}
.b2b-contact-box span{color:var(--b2b-muted);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.b2b-contact-box strong{font-size:14px;text-align:right}

.b2b-form{
  padding:28px;
  border:1px solid #ceddea;
  border-radius:20px;
  background:#fff;
  box-shadow:0 22px 55px rgba(7,29,60,.09);
}
.b2b-form-head{margin-bottom:20px}
.b2b-form-head strong{display:block;color:var(--b2b-navy);font-size:26px}
.b2b-form-head span{display:block;margin-top:5px;color:var(--b2b-blue-2);font-size:13px;font-weight:850}
.b2b-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.b2b-form-grid .full{grid-column:1/-1}
.b2b-form label{
  display:block;
  margin-bottom:6px;
  color:#294964;
  font-size:12px;
  font-weight:850;
}
.b2b-form input,.b2b-form select,.b2b-form textarea{
  width:100%;
  border:1px solid #cbd9e6;
  border-radius:10px;
  background:#fff;
  color:#12314e;
  font:inherit;
  outline:none;
}
.b2b-form input,.b2b-form select{height:47px;padding:0 13px}
.b2b-form textarea{min-height:128px;padding:12px 13px;resize:vertical}
.b2b-form input:focus,.b2b-form select:focus,.b2b-form textarea:focus{
  border-color:var(--b2b-blue);
  box-shadow:0 0 0 3px rgba(18,135,248,.10);
}
.b2b-consent label{
  display:flex;
  gap:9px;
  align-items:flex-start;
  color:#61778d;
  font-size:12px;
  font-weight:600;
  line-height:1.5;
}
.b2b-consent input{width:16px;height:16px;margin-top:2px;flex:0 0 auto}
.b2b-submit{width:100%;justify-content:center}
.b2b-form-safe{margin-top:13px;color:#7c8ea0;font-size:11px}
#formStatus{margin-top:14px;color:#173e65;font-size:13px;line-height:1.5}

.b2b-business-only{
  padding:62px 0;
  border-top:1px solid rgba(255,255,255,.08);
  background:var(--b2b-navy);
  color:#fff;
  text-align:center;
}
.b2b-business-only strong{
  display:block;
  color:#fff;
  font-size:clamp(25px,3vw,38px);
}
.b2b-business-only p{
  max-width:780px;
  margin:12px auto 0;
  color:#cbdced;
  line-height:1.65;
}

.b2b-footer{padding:48px 0 20px;background:#fff;border-top:1px solid var(--b2b-line)}
.b2b-footer-grid{display:grid;grid-template-columns:1.2fr .9fr .9fr;gap:55px}
.b2b-footer-grid img{width:210px}
.b2b-footer-grid p{max-width:330px;margin:12px 0 0;color:var(--b2b-muted);font-size:13px;line-height:1.6}
.b2b-footer-grid>div{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.b2b-footer-grid strong{color:var(--b2b-navy);margin-bottom:5px}
.b2b-footer-grid a,.b2b-footer-grid span{color:#557087;font-size:13px}
.b2b-footer-grid a:hover{color:var(--b2b-blue-2)}
.b2b-footer-bottom{
  display:flex;
  justify-content:space-between;
  gap:15px;
  margin-top:30px;
  padding-top:18px;
  border-top:1px solid #e8eef4;
  color:#8494a4;
  font-size:11px;
}
.b2b-footer-bottom a{color:#667d91}

@media(max-width:1050px){
  .b2b-header .nav{display:none}
  .b2b-header .nav.open{display:flex}
  .b2b-hero-grid{grid-template-columns:1fr .82fr;gap:34px}
  .b2b-services{grid-template-columns:repeat(2,1fr)}
  .b2b-two-col,.b2b-model-grid,.b2b-lead-grid{gap:35px}
}

@media(max-width:820px){
  .b2b-hero-grid{
    grid-template-columns:1fr;
    min-height:0;
    padding-top:52px;
    padding-bottom:52px;
  }
  .b2b-hero-panel{max-width:620px}
  .b2b-two-col,.b2b-model-grid,.b2b-lead-grid{grid-template-columns:1fr}
  .b2b-process{grid-template-columns:1fr 1fr}
  .b2b-footer-grid{grid-template-columns:1fr 1fr}
  .b2b-footer-grid>div:first-child{grid-column:1/-1}
}

@media(max-width:600px){
  .b2b-page .container{width:min(100% - 26px,1180px)}
  .b2b-hero-grid{padding-top:38px;padding-bottom:38px}
  .b2b-hero h1{font-size:43px}
  .b2b-subtitle{font-size:19px}
  .b2b-only-note{font-size:12px}
  .b2b-actions{display:grid;grid-template-columns:1fr}
  .b2b-actions .btn{width:100%;justify-content:center}
  .b2b-micro{display:grid;gap:7px}
  .b2b-hero-panel{border-radius:18px}
  .b2b-network-visual{min-height:190px}
  .b2b-network-visual .node{width:48px;height:48px;border-radius:13px}
  .b2b-network-visual .n5{width:62px;height:62px}
  .b2b-network-visual .line{width:115px}
  .b2b-section{padding:62px 0}
  .b2b-services,.b2b-audience-grid,.b2b-process{grid-template-columns:1fr}
  .b2b-services article{min-height:0}
  .b2b-model-cards div{display:block}
  .b2b-model-cards span{display:block;margin-top:4px;text-align:left}
  .b2b-lead-section{padding:62px 0}
  .b2b-form{padding:20px;border-radius:16px}
  .b2b-form-grid{grid-template-columns:1fr}
  .b2b-form-grid .full{grid-column:auto}
  .b2b-contact-box>a,.b2b-contact-box>div{display:block}
  .b2b-contact-box strong{display:block;margin-top:5px;text-align:left}
  .b2b-footer-grid{grid-template-columns:1fr}
  .b2b-footer-grid>div:first-child{grid-column:auto}
  .b2b-footer-bottom{flex-direction:column}
}


/* V3.5 — Google Ads polish */
#usluge,
#za-koga,
#kako-radimo,
#b2b-upit{
  scroll-margin-top:110px;
}

/* Završna poslovna napomena ostaje jaka, ali vizualno ne nadjačava glavni hero. */
.b2b-business-only strong{
  font-size:clamp(23px,2.5vw,33px);
  line-height:1.15;
  letter-spacing:-.02em;
}

@media(max-width:600px){
  #usluge,
  #za-koga,
  #kako-radimo,
  #b2b-upit{
    scroll-margin-top:92px;
  }

  .b2b-business-only strong{
    font-size:26px;
  }
}


/* V3.6 — exact B2B clarification requested below hero intro */
.b2b-only-note-after-intro{
  margin-top:18px;
  margin-bottom:0;
}
