/* Autono-inspired layout for jovic.si (original design, not copied). */

:root{
  --bg:#fff;
  --text:#0b1220;
  --muted:#5b677b;

  --brand:#1b5fbf;
  --brand2:#0f3f92;
  --accent:#7c3aed;
  --accent2:#06b6d4;

  --container:1120px;
  --radius:22px;
  --shadow:0 18px 55px rgba(11,18,32,.14);
  --shadow2:0 10px 26px rgba(11,18,32,.10);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background: var(--bg);
  line-height:1.7;
}

.container{ max-width:var(--container); margin:0 auto; padding:0 20px; }
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
p{ margin:0 0 1rem; }
h1,h2,h3{ margin:0; line-height:1.12; letter-spacing:-0.02em; }

.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip{ position:absolute; left:-999px; top:10px; background:var(--text); color:#fff; padding:10px 14px; border-radius:12px; z-index:9999; }
.skip:focus{ left:10px; }

/* Top */
.top{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11,18,32,.06);
}
.top__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:12px 0;
}

.brand{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:14px;
  background: rgba(255,255,255,.55);
}
.brand__logo{
  height:54px; width:auto;
  filter: drop-shadow(0 10px 20px rgba(11,18,32,.14)) saturate(1.08);
}

.nav{ display:flex; align-items:center; gap:10px; }
.nav a{
  font-weight:800;
  font-size:16px;
  color:var(--muted);
  padding:10px 12px;
  border-radius:999px;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease, transform .08s ease;
}
.nav a:hover{
  color:var(--brand2);
  background: rgba(27,95,191,.10);
  box-shadow: var(--shadow2);
}
.nav a.is-active{
  color:#fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}
.nav a.is-active:hover{
  color:#fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 10px 24px rgba(11,18,32,.18);
}

.menuBtn{
  display:none;
  border:0;
  background: rgba(255,255,255,.9);
  border-radius:12px;
  padding:10px 12px;
  box-shadow: var(--shadow2);
  cursor:pointer;
}
.menuBtn__lines{ display:block; width:20px; height:2px; background:var(--text); position:relative; }
.menuBtn__lines::before, .menuBtn__lines::after{ content:""; position:absolute; left:0; width:20px; height:2px; background:var(--text); }
.menuBtn__lines::before{ top:-6px; }
.menuBtn__lines::after{ top:6px; }

/* Hero */
.hero{
  position:relative;
  padding: 72px 0 52px;
  overflow:hidden;
}
.hero__bg{
  position:absolute; inset:0;
  background: url("images/hero.jpg") center/cover no-repeat;
  transform: scale(1.03);
}
.hero__bg::after{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(9,12,18,.68), rgba(9,12,18,.58)),
    linear-gradient(135deg, rgba(15,63,146,.55), rgba(124,58,237,.22));
}
.hero__inner{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap:18px;
  align-items:end;
}
.hero__content{ color:#fff; }
.hero__kicker{
  display:inline-block;
  font-weight:900;
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  margin-bottom: 14px;
}
.hero__title{
  font-size: clamp(38px, 5vw, 62px);
  margin-bottom: 14px;
}
.hero__lead{
  color: rgba(255,255,255,.88);
  font-size: 17px;
  max-width: 70ch;
}
.hero__actions{ display:flex; flex-wrap:wrap; gap:12px; margin-top: 22px; }

.sideCard{
  background: rgba(255,255,255,.90);
  border-radius: calc(var(--radius) + 6px);
  padding: 18px;
  box-shadow: var(--shadow);
}
.sideCard__row{ display:flex; gap:12px; align-items:flex-start; padding: 10px 0; }
.sideCard__row + .sideCard__row{ border-top: 1px solid rgba(11,18,32,.06); }
.sideCard__title{ font-weight:900; font-size:14px; }
.sideCard__text{ color: var(--muted); font-size: 13px; margin-top: 2px; }

.dot{ width:12px; height:12px; border-radius:999px; margin-top: 5px; }
.dot--a{ background: linear-gradient(135deg, var(--accent2), var(--brand)); }
.dot--b{ background: linear-gradient(135deg, var(--accent), var(--brand2)); }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 16px; border-radius:999px;
  font-weight:900; font-size:14px;
  border:0; cursor:pointer;
  transition: transform .08s ease, box-shadow .18s ease, background .18s ease, opacity .18s ease;
}
.btn:active{ transform: translateY(1px); }
.btn--primary{
  color:#fff;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 14px 26px rgba(15,63,146,.26);
}
.btn--primary:hover{
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 18px 32px rgba(124,58,237,.18);
}
.btn--ghost{
  background: rgba(255,255,255,.92);
  color: var(--text);
  box-shadow: 0 12px 22px rgba(0,0,0,.14);
}
.btn--ghost:hover{ opacity:.94; }

/* Sections */
.section{ padding-block: 72px 0; }
.section--alt{
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(245,248,255,1));
}
.section__head{ max-width: 920px; margin-bottom: 26px; }
.section__kicker{
  font-weight:900;
  letter-spacing:.18em;
  text-transform:uppercase;
  font-size: 12px;
  color: var(--brand2);
  margin: 0 0 10px;
}
.section__title{ font-size: 40px; margin-bottom: 10px; }
.section__lead{ color: var(--muted); margin:0; font-size: 17px; }

/* Feature blocks */
.featureGrid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.feature{
  border-radius: calc(var(--radius) + 8px);
  overflow:hidden;
  background: #fff;
  box-shadow: var(--shadow2);
  display:grid;
  grid-template-columns: 0.95fr 1.05fr;
  min-height: 210px;
}
.feature__media{
  background: center/cover no-repeat;
  position:relative;
}
.feature__media::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(11,18,32,.00), rgba(11,18,32,.06), rgba(255,255,255,.18));
}
.feature--a .feature__media{ background-image: url("images/feature-business.jpg"); }
.feature--b .feature__media{ background-image: url("images/feature-it.jpg"); }
.feature--c .feature__media{ background-image: url("images/feature-ops.jpg"); }

.feature__body{ padding: 22px 20px; }
.feature__body h3{ font-size: 20px; margin-bottom: 10px; }
.feature__body p{ color: var(--muted); margin:0; font-size: 15px; }

.quote{
  margin: 18px 0 0;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.80);
  box-shadow: var(--shadow2);
  border-left: 4px solid rgba(27,95,191,.55);
  color: var(--muted);
  font-style: italic;
}

/* Map full bleed */
.mapBleed{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 26px;
  box-shadow: var(--shadow);
  overflow:hidden;
}
.mapBleed__frame{
  width: 100%;
  height: 520px;
  border:0;
  display:block;
}

/* Contact */
.contact{
  background: rgba(255,255,255,.86);
  border-radius: calc(var(--radius) + 10px);
  padding: 26px 24px;
  box-shadow: var(--shadow);
}
.contact__actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap: 12px;
  margin: 16px 0 10px;
}
.fineprint{ font-size:12px; color: var(--muted); margin:0; }

/* Footer */
.footer{ padding: 22px 0; color: var(--muted); border-top: 1px solid rgba(11,18,32,.06); }
.footer__inner{ display:flex; align-items:center; justify-content: space-between; gap: 12px; }
.footer a{ font-weight: 800; color: var(--brand2); }

/* Responsive */
@media (max-width: 980px){
  .hero__inner{ grid-template-columns: 1fr; }
  .feature{ grid-template-columns: 1fr; }
  .feature__media{ min-height: 180px; }
}

@media (max-width: 720px){
  .menuBtn{
    display:inline-flex;
    align-items:center;
  }

  .nav{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;

    display: none;
    flex-direction: column;
    gap: 4px;

    background: rgba(255,255,255,.98);
    padding: 14px 16px 18px;
    border-radius: 0;

    box-shadow: 0 18px 40px rgba(11,18,32,.18);
  }

  .nav a{
    width: 100%;
    text-align: center;
    padding: 14px 16px;
    font-size: 16px;
  }

  .nav.is-open{
    display: flex;
  }

  .mapBleed__frame{
    height: 380px;
  }
}

.nav{
  animation: navDrop .18s ease-out;
}

@keyframes navDrop{
  from{
    opacity: 0;
    transform: translateY(-6px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}


@media (max-width: 520px){
  .hero{ padding: 56px 0 44px; }
  .hero__title{ font-size: 40px; }
  .mapBleed__frame{ height: 320px; }
}

.brand{ position:relative; }
.brand::after{
  content:"↥";
  position:absolute;
  right:-10px;
  top:-6px;
  font-size:14px;
  opacity:0;
  transform: translateY(4px);
  transition: opacity .18s ease, transform .18s ease;
  color: var(--brand2);
}
.brand:hover::after{
  opacity:1;
  transform: translateY(0);
}
