:root{
  --bg:#0b1220;
  --bg2:#0e1a2f;
  --ink:#0b1220;
  --paper:#f3f5f7;
  --muted:#6b7280;
  --line:rgba(255,255,255,.12);
  --line2:rgba(10,15,25,.12);
  --brand:#ffffff;
  --accent:#c7cedb;
  --max:1120px;

  --radius:18px;
  --shadow:0 12px 40px rgba(0,0,0,.25);
  --font: "Montserrat", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  color:#111827;
  background:#fff; /* pomembno: belo, da spodaj ni sive praznine */
  line-height:1.45;
}
a{color:inherit}
.container{max-width:var(--max); margin:0 auto; padding:0 20px;}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid var(--line);
  background:transparent;
  color:#fff;
  text-decoration:none;
  font-weight:600;
  letter-spacing:.02em;
  transition:transform .15s ease, background .15s ease, border-color .15s ease;
  cursor:pointer;
}
.btn:hover{transform:translateY(-1px); background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.25);}
.btn:active{transform:translateY(0px);}
.btn.light{
  color:#0b1220;
  background:#fff;
  border-color:rgba(10,15,25,.18);
}
.btn.light:hover{background:#f7f7f7}

/* =========================
   HERO
========================= */
.hero{
  position:relative;
  height:65vh;
  min-height:520px;
  overflow:hidden;
  color:#fff;

  background-image: url("assets/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-cta{
  background: url("assets/hero-cta.jpg") center/cover no-repeat;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background: linear-gradient(180deg, rgba(4,10,18,.55), rgba(4,10,18,.75));
  pointer-events:none;
}

.hero::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:120px;
  background:linear-gradient(to bottom, transparent, rgba(4,10,18,.6));
  z-index:1;
  pointer-events:none;
}

/* topbar nad overlay */
.topbar{
  position: relative;
  z-index: 20;
  padding-top: 28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

/* ✅ poenoteno: top-actions je bil definiran 2x */
.top-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:nowrap;
  justify-content:flex-end;
  margin-left:auto;
}
@media (max-width: 520px){
  .top-actions{ flex-wrap:wrap; }
}

.brand{
  display:flex; align-items:center; gap:12px;
  text-decoration:none;
  font-weight:800;
  letter-spacing:.06em;
  margin-top: 10px;
}
.brand .logo{
  display:flex;
  align-items:center;
}

.brand .logo img{
  height:65px;   /* prilagodi */
  width:auto;
  display:block;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  color:#fff;
  font-weight:600;
  font-size:14px;
  white-space:nowrap;
  text-decoration:none;   /* pomembno za <a> */
  transition:all .2s ease;
}

.pill:hover{
  background:rgba(255,255,255,.12);
}

.lang-toggle{
  display:inline-flex;
  border-radius:999px;
  border:1px solid var(--line);
  overflow:hidden;
  background:rgba(255,255,255,.04);
}
.lang-toggle button{
  appearance:none; border:0; background:transparent; color:#fff;
  padding:10px 12px;
  font-weight:800;
  letter-spacing:.04em;
  cursor:pointer;
}
.lang-toggle button[aria-pressed="true"]{
  background:rgba(255,255,255,.12);
}

/* hero text pozicija */
.hero-center{
  position:absolute;
  left:50%;
  bottom:14%;
  transform:translateX(-50%);
  z-index:5;
  width:min(92vw, 980px);
  text-align:center;
}

.hero-text{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.hero-line{
  margin:0;
  text-transform:uppercase;
  font-size:clamp(36px, 5vw, 64px);
  line-height:0.95;
  letter-spacing:.05em;
}

.hero-line-top{ font-weight:600; }
.hero-line-bottom{ font-weight:400; }

.hero-subtitle{
  margin-top:22px;
  font-size:18px;
  line-height:1.6;
  max-width:720px;
  margin-left:auto;
  margin-right:auto;
  color:rgba(255,255,255,.9);
}


@media (max-height: 700px){
  .hero-center{ bottom:10%; }
  .hero-line{ font-size:clamp(30px, 5vw, 52px); }
  .hero-subtitle{font-size:16px; padding:0 10px; }
}


/* =========================
   MAIN SECTIONS
========================= */

main{
  padding:0;
  background:#fff;
}

.section{
  margin:0;
}

.section-title{
  text-align:center;
  margin:0 auto 18px;
  max-width: 70ch;
}
.section-title h3{
  margin:0 0 6px;
  font-size:18px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#111827;
}
.section-title p{
  margin:0;
  color:var(--muted);
  font-size:15px;
}

.card{
  background:#fff;
  border:1px solid var(--line2);
  border-radius:var(--radius);
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
  overflow:hidden;
}
.card-pad{padding:22px;}
.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
}
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
}

.media{
  background:linear-gradient(180deg, #0b1220, #0e1a2f);
  color:#fff;
  min-height: 220px;
  position:relative;
}
.media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  opacity:.92;
}
.media::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.22), rgba(0,0,0,.42));
  pointer-events:none;
}

.lede{
  font-size:14.5px;
  color:#111827;
  margin:0 0 10px;
}
.bullets{
  margin:12px 0 0;
  padding-left:18px;
  color:#111827;
}
.bullets li{margin:6px 0; color:#111827}
.muted{color:var(--muted)}
.label{
  font-size:12px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#111827;
  opacity:.78;
  margin-bottom:8px;
}

/* =========================
   Footer
========================= */

.footer{
  background:#333333;
  color:rgba(255,255,255,.85);
  padding:60px 0;
  border-top:1px solid rgba(255,255,255,.08);
}

.foot{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:40px;
}

.foot-left{
  max-width:480px;
}

.foot-logo{
  margin-bottom:24px;
}

.foot-logo img{
  height:42px;
  width:auto;
  display:block;
}

.foot-company{
  font-size:14px;
  line-height:1.6;
  color:rgba(255,255,255,.75);
  margin-bottom:20px;
}

.foot-contact{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.foot-contact a{
  text-decoration:none;
  color:rgba(255,255,255,.85);
  font-weight:500;
}

.foot-contact a:hover{
  text-decoration:underline;
}

.foot-right{
  text-align:right;
  font-size:13px;
  color:rgba(255,255,255,.6);
  display:flex;
  flex-direction:column;
  gap:10px;
}

.foot-right a{
  color:rgba(255,255,255,.85);
  text-decoration:none;
}

.foot-right a:hover{
  text-decoration:underline;
}

@media (max-width: 900px){
  .foot{
    flex-direction:column;
    gap:30px;
  }

  .foot-right{
    text-align:left;
  }
}

/* =========================
   Section Build
========================= */

.section-built{
  padding:60px 0;
  background:#fff !important;
}

.built-header{
  text-align:center;
  margin-bottom:60px;
}

.built-title{
  margin:0;
  text-transform:uppercase;
  letter-spacing:.06em;
  line-height:1.1;
  color:#13244A;
  font-size:clamp(22px, 3vw, 38px);
}

.built-line-top{ font-weight:700; }
.built-line-bottom{ font-weight:400; }

.built-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:60px;
  align-items:center;
}

.built-image img{
  width:100%;
  height:auto;
  display:block;
}

.built-text{
  font-size:18px;
  line-height:1.7;
  color:#1e2a3a;
}

.built-text p{ margin:0 0 24px; }
.built-text strong{ font-weight:600; }

@media (max-width: 900px){
  .built-grid{
    grid-template-columns:1fr;
    gap:40px;
  }

  .built-header{
    margin-bottom:40px;
  }

  .built-title{
    font-size:clamp(20px, 5vw, 28px);
  }
}

@media (max-width: 900px){
  .section-built{
    padding-top:40px;
    padding-bottom:60px;
  }
}

/* =========================
   Section Expertise
========================= */

.section-expertise{
  background:#e9ecef;
  padding:65px 0;
}

.exp-title{
  margin:0 0 70px;
  text-align:center;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#111827;
  font-size:clamp(22px, 3vw, 38px);
  line-height:1.15;
}

.exp-title-top{ font-weight:700; }
.exp-title-bottom{ font-weight:700; }

.exp-row{
  display:grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap:70px;
  align-items:center;
}

.exp-row + .exp-row{
  margin-top:90px;
}

.exp-row-reverse{
  direction: rtl;
}
.exp-row-reverse > *{
  direction:ltr;
}

.exp-media{
  display:flex;
  justify-content:flex-end;
}

.exp-media img{
  width:100%;
  max-width:520px;
  height:auto;
  display:block;
  background:#fff;
}

.exp-text{
  max-width: 52ch;
  font-size:18px;
  line-height:1.75;
  color:#111827;
}

.exp-text p{ margin:0 0 26px; }
.exp-text strong{ font-weight:600; }

.exp-list-title{
  font-weight:700;
  margin:18px 0 10px;
}

.exp-list ul{
  margin:0;
  padding-left:18px;
}

.exp-list li{ margin:6px 0; }

@media (max-width: 980px){
  .section-expertise{ padding:80px 0; }
  .exp-title{ margin-bottom:40px; }

  .exp-row{
    grid-template-columns:1fr;
    gap:28px;
  }

  .exp-row + .exp-row{ margin-top:50px; }

  .exp-row-reverse{
    direction:ltr;
  }

  .exp-text{ max-width:none; }
}

/* =========================
   Section Work
========================= */

.section-work{
  background:#ffffff;
  padding:65px 0;
}

.work-title{
  text-align:center;
  margin:0 0 60px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#13244A;
  font-size:clamp(22px, 3vw, 36px);
  line-height:1.15;
}

.work-title-top{ font-weight:700; }
.work-title-bottom{ font-weight:400; }

.work-layout{
  display:grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap:80px;
  align-items:start;
}

.work-text,
.work-media{
  min-width:0;
}

.work-text{
  max-width: 52ch;
  font-size:18px;
  line-height:1.75;
  color:#111827;
}

.work-highlight{
  font-weight:600;
  color:#13244A;
}

.work-media{
  display:flex;
  flex-direction:column;
  gap:30px;
  align-items:flex-end;
}

.work-media img{
  width:100%;
  max-width:520px;
  height:auto;
  display:block;
}

@media (max-width: 980px){
  .work-layout{
    grid-template-columns:1fr;
    gap:40px;
  }

  .work-text{
    max-width:60ch;
  }

  .work-media{
    align-items:center;
  }
}

/* =========================
   Section Contact
========================= */

.section-contact{
  background:#b4b9ce;
  padding:65px 0;
  text-align:center;
}

.contact-title{
  margin:0 0 28px;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:700;
  font-size:clamp(22px, 3vw, 34px);
  color:#111827;
}

.contact-lead{
  max-width:60ch;
  margin:0 auto 50px;
  font-size:18px;
  line-height:1.75;
  color:#1f2a3c;
}

.contact-person{
  font-size:18px;
  line-height:1.5;
  color:#111827;
}

.contact-name{
  font-weight:700;
  letter-spacing:.05em;
  margin-bottom:4px;
}

.contact-role{
  margin-bottom:8px;
}

.contact-phone,
.contact-mail{
  display:block;
  text-decoration:none;
  color:#111827;
  font-weight:500;
  margin-bottom:4px;
}

.contact-mail:hover,
.contact-phone:hover{
  text-decoration:underline;
}

/* =========================
   Section Join
========================= */

.section-join{
  position:relative;
  background:url("assets/join.jpg") center/cover no-repeat;
  padding:65px 0;
  color:#fff;
  margin-top:0;
}

.join-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(90deg, rgba(10,20,40,.75), rgba(10,20,40,.55));
}

.join-inner{
  position:relative;
  z-index:2;
  display:flex;
  justify-content:flex-end;
}

.join-card{
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter: blur(8px);
  padding:60px 55px;
  max-width:520px;
  color:#13244A;
  clip-path:polygon(
    0 0,
    100% 0,
    100% 85%,
    90% 100%,
    0 100%
  );
}

.join-title{
  margin:0 0 30px;
  text-transform:uppercase;
  font-weight:700;
  letter-spacing:.08em;
  font-size:clamp(22px, 3vw, 32px);
}

.join-text{
  font-size:18px;
  line-height:1.75;
}

.join-text p{
  margin:0 0 24px;
}

.join-btn{
  display:inline-block;
  margin-top:20px;
  padding:12px 28px;
  border:1px solid #13244A;
  text-decoration:none;
  font-weight:600;
  letter-spacing:.05em;
  color:#13244A;
  transition:all .2s ease;
}

.join-btn:hover{
  background:#13244A;
  color:#fff;
}

@media (max-width: 980px){
  .section-join{
    padding:90px 0;
  }

  .join-inner{
    justify-content:center;
  }

  .join-card{
    max-width:100%;
    clip-path:none;
    padding:40px 30px;
  }
}

/* =========================
   Global mobile tweaks
========================= */

@media (max-width: 768px){

  .topbar{
    padding-top:20px;
  }

  .brand .logo img{
    height:28px;
  }

  .pill{
    display:none;
  }

  .top-actions{
    gap:6px;
  }

  .foot{
    flex-direction:column;
    align-items:flex-start;
    gap:30px;
  }

  .foot-right{
    text-align:left;
    align-items:flex-start;
  }

  .footer{
    padding:40px 0;
  }
}

/* =========================
   Section Jobs
========================= */

.section-jobs{
  background:#ffffff;
  padding:80px 0;
}

.jobs-title{
  text-align:center;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin:0 0 90px;
  font-size:clamp(24px, 3vw, 38px);
  line-height:1.15;
  color:#13244A;
}

.jobs-title-top{ font-weight:700; }
.jobs-title-bottom{ font-weight:400; }

/* GRID (2 enaka stolpca) */
.jobs-list{
  max-width:1100px;
  margin:0 auto;
  display:grid;
  grid-template-columns: 1fr 1fr;
  column-gap:100px;
  row-gap:80px;
}

/* Posamezen job */
.job-item{
  display:grid;
  grid-template-columns: 120px minmax(0,1fr);
  column-gap:40px;
  align-items:center;
}

/* Ikona */
.job-icon{
  display:flex;
  justify-content:flex-end;
  align-items:center;
}
.job-icon img{
  width:100px;
  height:auto;
  display:block;
}

/* Tekst */
.job-text h3{
  margin:0 0 16px;
  font-size:20px;
  font-weight:700;
  color:#13244A;
}

.job-text ul{
  margin:0;
  padding-left:18px;
  font-size:18px;
  line-height:1.75;
  color:#1e2a3a;
}

.job-text li{ margin-bottom:8px; }

@media (max-width: 980px){
  .jobs-list{
    grid-template-columns:1fr;
    row-gap:50px;
  }

  .job-item{
    grid-template-columns:90px minmax(0,1fr);
    column-gap:24px;
    align-items:start;
  }

  .job-icon{
    justify-content:center;
  }

  .job-icon img{
    width:70px;
  }

  .job-text ul{
    font-size:17px;
    line-height:1.7;
  }
}

/* =========================
   Section Offer (Kaj ponujamo)
========================= */

.section-offer{
  background:#e9ecef;
  padding:65px 0;
}

.offer-title{
  text-align:center;
  margin:0 0 60px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#13244A;
  font-size:clamp(22px, 3vw, 36px);
  line-height:1.15;
}
.offer-title-top{ font-weight:700; }

.offer-grid{
  display:grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap:70px;
  align-items:center;
}

.offer-media{
  display:flex;
  justify-content:flex-end;
  align-items:center;
}

.offer-media img{
  width:100%;
  max-width:370px;
  height:auto;
  display:block;
}

.offer-content{
  min-width:0;
  max-width: 60ch;
  color:#13244A;
  font-size:18px;
  line-height:1.75;
}

.offer-bullets{
  margin:0 0 26px;
  padding-left:18px;
}
.offer-bullets li{ margin:6px 0; }

.offer-note{
  margin:0 0 26px;
  color:#13244A;
}
.offer-note strong{ font-weight:700; }

.offer-btn{
  display:inline-block;
  padding:12px 28px;
  border:1px solid #13244A;
  text-decoration:none;
  font-weight:600;
  letter-spacing:.05em;
  color:#13244A;
  transition:all .2s ease;
  background:transparent;
}
.offer-btn:hover{
  background:#13244A;
  color:#fff;
}

@media (max-width: 980px){
  .offer-grid{
    grid-template-columns:1fr;
    gap:40px;
    justify-items:center;
  }
  .offer-content{
    max-width:60ch;
    text-align:left;
  }
  .offer-media{
    justify-content:center;
  }
}

/* =========================
   Section Why
========================= */

.section-why{
  background:#ffffff;
  padding:65px 0;
}

.why-title{
  text-align:center;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin:0 0 70px;
  font-size:clamp(22px, 3vw, 36px);
  color:#13244A;
  font-weight:700;
}

.why-layout{
  display:grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap:80px;
  align-items:start;
}

.why-text{
  font-size:18px;
  line-height:1.75;
  color:#1e2a3a;
  max-width:52ch;
}
.why-text p{ margin:0 0 28px; }
.why-text strong{ font-weight:600; color:#13244A; }

.why-card{
  display:flex;
  align-items:center;
}

.why-card-inner{
  background:#eef1f5;
  padding:50px 45px;
  clip-path:polygon(
    0 0,
    100% 0,
    100% 85%,
    92% 100%,
    0 100%
  );
}

.why-card-lead{
  margin:0 0 20px;
  font-weight:600;
  color:#13244A;
}

.why-card ul{
  margin:0;
  padding-left:18px;
  font-size:18px;
  line-height:1.75;
  color:#1e2a3a;
}
.why-card li{ margin-bottom:10px; }

@media (max-width: 980px){
  .why-layout{
    grid-template-columns:1fr;
    gap:40px;
  }

  .why-text{
    max-width:60ch;
  }

  .why-card-inner{
    clip-path:none;
    padding:40px 30px;
  }
}

/* =========================
   Section Living
========================= */

.section-living{
  background:#e9ecef;
  padding:65px 0;
}

.living-title{
  text-align:center;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin:0 0 70px;
  font-size:clamp(22px, 3vw, 36px);
  line-height:1.15;
  color:#13244A;
}
.living-title-top{ font-weight:700; }
.living-title-bottom{ font-weight:400; }

.living-layout{
  display:grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap:80px;
  align-items:start;
}

.living-media{
  display:flex;
  justify-content:flex-end;
}
.living-media img{
  width:100%;
  max-width:370px;
  height:auto;
  display:block;
}

.living-text{
  font-size:18px;
  line-height:1.75;
  color:#1e2a3a;
  max-width:56ch;
}
.living-text p{ margin:0 0 22px; }
.living-text strong{ font-weight:600; color:#13244A; }

.living-sub{
  margin:18px 0 10px;
  font-weight:500;
  color:#13244A;
}

.living-bullets{
  margin:0;
  padding-left:18px;
  font-size:18px;
  line-height:1.75;
}
.living-bullets li{ margin:10px 0; }

@media (max-width: 980px){
  .living-layout{
    grid-template-columns:1fr;
    gap:40px;
  }

  .living-media{ justify-content:center; }
  .living-text{ max-width:none; }
}

/* =========================
   Section Apply
========================= */

.section-apply{
  background:#e9ecef;   /* sivo ozadje band */
  padding:0;
}

.apply-card{
  background:#ffffff;
  max-width:720px;
  margin:0px auto 0;
  padding:70px 60px;
  text-align:center;
  box-shadow:0 20px 60px rgba(0,0,0,.08);
  position:relative;
}

.apply-title{
  margin:0 0 24px;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:clamp(22px, 3vw, 34px);
  font-weight:700;
  color:#13244A;
}

.apply-text{
  margin:0 0 16px;
  font-size:18px;
  line-height:1.7;
  color:#1e2a3a;
}

.apply-mail{
  display:inline-block;
  font-size:20px;
  font-weight:600;
  color:#13244A;
  text-decoration:none;
  border-bottom:1px solid #13244A;
  padding-bottom:4px;
  transition:all .2s ease;
}

.apply-mail:hover{
  opacity:.7;
}

@media (max-width: 768px){
  .apply-card{
    padding:40px 25px;
  }
}
