:root {
  --navy: #07234e;
  --navy-deep: #041936;
  --teal: #228488;
  --teal-bright: #4bb8b2;
  --ink: #172a42;
  --muted: #5d6d7d;
  --line: #dce5eb;
  --paper: #f5f8fa;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(7, 35, 78, 0.12);
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 4px; }
.skip-link {
  position: fixed;
  z-index: 100;
  top: -60px;
  left: 14px;
  padding: 10px 15px;
  color: var(--white);
  background: var(--navy);
  transition: top .2s ease;
}
.skip-link:focus { top: 14px; }

.site-shell { min-height: 100vh; }
.side-nav {
  position: fixed;
  z-index: 20;
  inset: 0 auto 0 0;
  display: flex;
  width: 270px;
  flex-direction: column;
  padding: 34px 26px 28px;
  color: var(--white);
  background: var(--navy);
}
.brand { display: inline-flex; justify-content: center; margin: 0 auto 30px; }
.brand img { width: 160px; height: 160px; object-fit: contain; }
.nav-label {
  margin: 0 0 12px;
  color: #91c6c7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.nav-list { margin: 0; padding: 0; list-style: none; }
.nav-list li + li { margin-top: 3px; }
.nav-list a {
  position: relative;
  display: block;
  padding: 8px 0 8px 18px;
  color: #dbe8ee;
  font-size: 15px;
  text-decoration: none;
  transition: color .2s ease, padding .2s ease;
}
.nav-list a::before {
  position: absolute;
  top: 18px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-bright);
  content: "";
  opacity: .55;
}
.nav-list a:hover, .nav-list a:focus-visible { padding-left: 23px; color: var(--white); }
.nav-note { margin: auto 0 18px; color: #9ab3c3; font-size: 13px; line-height: 1.5; }
.nav-contact { padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); }
.nav-contact a { display: block; color: var(--white); font-size: 14px; text-decoration: none; }
.nav-contact a + a { margin-top: 5px; }
.nav-contact .nav-phone { color: var(--teal-bright); font-weight: 700; }

.mobile-bar { display: none; }
.main-content { margin-left: 270px; }
.content-wrap { width: min(calc(100% - 64px), var(--content)); margin: 0 auto; }

.hero {
  position: relative;
  display: flex;
  min-height: 720px;
  align-items: flex-end;
  overflow: hidden;
  color: var(--navy);
  background: #dce9eb url("../assets/finnboj-storitve-01.jpg") center center / cover no-repeat;
}
.hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.76) 43%, rgba(255,255,255,.08) 78%), linear-gradient(0deg, rgba(255,255,255,.82), transparent 40%);
  content: "";
}
.hero-inner { position: relative; z-index: 1; width: min(calc(100% - 64px), var(--content)); margin: 0 auto; padding: 100px 0 94px; }
.eyebrow { margin: 0 0 16px; color: var(--teal); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.hero h1 { max-width: 650px; margin: 0; color: var(--navy); font-size: clamp(2.5rem, 5.2vw, 5.8rem); font-weight: 700; letter-spacing: -.055em; line-height: .99; }
.hero-lede { max-width: 540px; margin: 25px 0 0; color: var(--teal); font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.35; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 21px;
  border: 1px solid var(--navy);
  color: var(--white);
  background: var(--navy);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.button:hover { color: var(--navy); background: transparent; transform: translateY(-2px); }
.button-light { color: var(--navy); border-color: rgba(7,35,78,.4); background: rgba(255,255,255,.6); }
.button-light:hover { color: var(--white); background: var(--navy); }

.section { padding: 112px 0; }
.section-soft { background: var(--paper); }
.section-dark { color: var(--white); background: var(--navy); }
.section-kicker { margin: 0 0 14px; color: var(--teal); font-size: 12px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.section-dark .section-kicker { color: var(--teal-bright); }
.section h2 { max-width: 760px; margin: 0; color: var(--navy); font-size: clamp(2rem, 3.7vw, 3.8rem); letter-spacing: -.045em; line-height: 1.04; }
.section-dark h2 { color: var(--white); }
.section-intro { max-width: 690px; margin: 20px 0 0; color: var(--muted); font-size: 1.08rem; }
.section-dark .section-intro { color: #c8d8e2; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 50px; }
.service-card { display: flex; min-height: 292px; flex-direction: column; overflow: hidden; background: var(--white); box-shadow: 0 8px 28px rgba(7, 35, 78, .06); }
.service-card-image { width: 100%; height: 120px; object-fit: cover; }
.service-card-body { display: flex; flex: 1; flex-direction: column; padding: 25px 24px 24px; }
.service-icon { display: grid; width: 38px; height: 38px; margin-bottom: 18px; place-items: center; border-radius: 50%; color: var(--white); background: var(--teal); font-size: 20px; font-weight: 700; }
.service-card h3 { margin: 0; color: var(--navy); font-size: 1.17rem; line-height: 1.2; }
.service-card p { margin: 11px 0 0; color: var(--muted); font-size: .94rem; line-height: 1.55; }
.service-card-noimage { min-height: 292px; color: var(--white); background: var(--teal); }
.service-card-noimage .service-card-body { padding: 31px 28px; }
.service-card-noimage .service-icon { color: var(--teal); background: var(--white); }
.service-card-noimage h3, .service-card-noimage p { color: var(--white); }

.about-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(45px, 8vw, 120px); align-items: center; }
.about-statement { margin: 0; color: var(--navy); font-size: clamp(1.4rem, 2.2vw, 2.15rem); font-weight: 400; letter-spacing: -.03em; line-height: 1.2; }
.about-copy { color: var(--muted); }
.about-copy p { margin: 0; }
.about-copy p + p { margin-top: 22px; }
.about-mark { position: relative; min-height: 340px; padding: 45px; overflow: hidden; color: var(--white); background: var(--navy); }
.about-mark::after { position: absolute; right: -70px; bottom: -120px; width: 270px; height: 270px; border: 52px solid rgba(75,184,178,.45); border-radius: 50%; content: ""; }
.about-mark span { position: relative; z-index: 1; display: block; max-width: 315px; color: #c6e2e1; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.about-mark strong { position: relative; z-index: 1; display: block; margin-top: 120px; color: var(--white); font-size: clamp(2.4rem, 5vw, 4.8rem); letter-spacing: -.06em; line-height: .95; }
.about-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 32px; }
.about-point { padding-top: 15px; border-top: 2px solid var(--teal); }
.about-point strong { display: block; color: var(--navy); font-size: 1.5rem; }
.about-point span { color: var(--muted); font-size: .9rem; }

.quote-section { position: relative; padding: 94px 0; overflow: hidden; color: var(--white); background: var(--teal); }
.quote-section::before { position: absolute; top: -160px; right: 8%; color: rgba(255,255,255,.12); content: "\201C"; font-family: Georgia, serif; font-size: 28rem; line-height: 1; }
.quote { position: relative; max-width: 790px; margin: 0 auto; text-align: center; }
.quote p { margin: 0; font-family: Georgia, serif; font-size: clamp(1.8rem, 3.5vw, 3.3rem); line-height: 1.15; }
.quote cite { display: block; margin-top: 24px; color: #d6eeee; font-family: Arial, "Helvetica Neue", sans-serif; font-size: .9rem; font-style: normal; letter-spacing: .08em; text-transform: uppercase; }

.reference-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 70px; align-items: center; margin-top: 55px; }
.reference-copy p { max-width: 600px; margin: 0; color: var(--muted); }
.certificate-card { padding: 28px; background: var(--white); box-shadow: var(--shadow); }
.certificate-card img { width: 100%; border: 1px solid var(--line); }
.certificate-card figcaption { margin-top: 15px; color: var(--navy); font-size: .88rem; font-weight: 700; }
.certificate-note { margin-top: 5px; color: var(--muted); font-size: .8rem; }

.faq-list { max-width: 900px; margin: 50px 0 0; border-top: 1px solid rgba(255,255,255,.28); }
.faq-list details { border-bottom: 1px solid rgba(255,255,255,.28); }
.faq-list summary { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 20px; color: var(--white); cursor: pointer; font-size: 1.05rem; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { color: var(--teal-bright); content: "+"; font-size: 1.8rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "-"; }
.faq-list details p { max-width: 760px; margin: -5px 0 25px; color: #c8d8e2; }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
.contact-copy h2 { max-width: 570px; }
.contact-copy > p { max-width: 520px; margin: 22px 0 0; color: var(--muted); font-size: 1.05rem; }
.contact-list { margin: 35px 0 0; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: 15px; align-items: flex-start; padding: 15px 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-symbol { flex: 0 0 28px; color: var(--teal); font-size: 1.15rem; text-align: center; }
.contact-list a { color: var(--navy); font-weight: 700; text-decoration: none; }
.contact-list a:hover { color: var(--teal); text-decoration: underline; }
.contact-panel { min-height: 365px; padding: 38px; color: var(--white); background: var(--navy); }
.contact-panel h3 { margin: 0; color: var(--white); font-size: 1.6rem; }
.contact-panel p { margin: 20px 0 0; color: #c8d8e2; }
.contact-panel .button { margin-top: 30px; color: var(--navy); border-color: var(--teal-bright); background: var(--teal-bright); }
.contact-panel .button:hover { color: var(--white); background: transparent; }

.site-footer { padding: 30px 0; color: #c8d8e2; background: var(--navy-deep); font-size: .84rem; }
.footer-layout { display: flex; gap: 22px; align-items: center; justify-content: space-between; }
.footer-layout p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: var(--white); text-decoration: none; }
.footer-links a:hover { color: var(--teal-bright); }
.to-top { color: var(--teal-bright); text-decoration: none; }

.cookie-banner { position: fixed; z-index: 50; right: 22px; bottom: 22px; left: 22px; display: flex; max-width: 980px; margin: 0 auto; align-items: center; justify-content: space-between; gap: 24px; padding: 19px 22px; color: var(--white); background: var(--navy-deep); box-shadow: 0 15px 45px rgba(0,0,0,.25); }
.cookie-banner[hidden] { display: none !important; }
.cookie-banner p { margin: 0; font-size: .9rem; line-height: 1.45; }
.cookie-banner a { color: var(--teal-bright); }
.cookie-actions { display: flex; flex: 0 0 auto; gap: 10px; align-items: center; }
.cookie-button { padding: 10px 15px; border: 1px solid var(--teal-bright); color: var(--navy); background: var(--teal-bright); cursor: pointer; font: inherit; font-size: .85rem; font-weight: 700; }
.cookie-button:hover { color: var(--white); background: transparent; }

.legal-main { min-height: calc(100vh - 85px); padding: 100px 0; }
.legal-main article { max-width: 820px; }
.legal-main h1 { margin: 0 0 24px; color: var(--navy); font-size: clamp(2.5rem, 5vw, 4.8rem); letter-spacing: -.055em; line-height: 1; }
.legal-main h2 { margin: 42px 0 12px; color: var(--navy); font-size: 1.45rem; }
.legal-main p, .legal-main li { color: var(--muted); }
.legal-main a { color: var(--teal); }
.legal-back { display: inline-block; margin-bottom: 34px; color: var(--teal); font-size: .9rem; font-weight: 700; text-decoration: none; }
.legal-back:hover { text-decoration: underline; }
.not-found { display: grid; min-height: 75vh; align-items: center; }
.not-found p { max-width: 520px; color: var(--muted); font-size: 1.1rem; }

@media (max-width: 1120px) {
  .side-nav { width: 230px; padding-right: 20px; padding-left: 20px; }
  .main-content { margin-left: 230px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 680px; }
}

@media (max-width: 760px) {
  .side-nav { display: none; }
  .main-content { margin-left: 0; }
  .mobile-bar { position: sticky; z-index: 30; top: 0; display: flex; min-height: 76px; align-items: center; justify-content: space-between; padding: 8px 18px; color: var(--white); background: var(--navy); box-shadow: 0 6px 18px rgba(7,35,78,.14); }
  .mobile-brand { display: inline-flex; align-items: center; }
  .mobile-brand img { width: 60px; height: 60px; object-fit: contain; }
  .menu-toggle { display: inline-flex; min-height: 42px; align-items: center; gap: 9px; padding: 8px 0 8px 12px; border: 0; color: var(--white); background: transparent; cursor: pointer; font: inherit; font-size: .85rem; font-weight: 700; }
  .menu-toggle span { display: block; width: 24px; height: 2px; background: var(--teal-bright); box-shadow: 0 -7px 0 var(--teal-bright), 0 7px 0 var(--teal-bright); }
  .mobile-menu { display: none; padding: 0 18px 16px; background: var(--navy); }
  .mobile-menu.is-open { display: block; }
  .mobile-menu a { display: block; padding: 9px 0; color: var(--white); text-decoration: none; }
  .mobile-menu a + a { border-top: 1px solid rgba(255,255,255,.14); }
  .content-wrap, .hero-inner { width: min(calc(100% - 36px), var(--content)); }
  .hero { min-height: 650px; background-position: 60% center; }
  .hero::before { background: linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,255,255,.45)), linear-gradient(0deg, rgba(255,255,255,.9), transparent 55%); }
  .hero-inner { padding: 85px 0 65px; }
  .section { padding: 76px 0; }
  .service-grid, .about-layout, .reference-layout, .contact-layout { grid-template-columns: 1fr; }
  .service-grid { gap: 16px; margin-top: 34px; }
  .service-card, .service-card-noimage { min-height: 0; }
  .service-card-image { height: 160px; }
  .about-mark { min-height: 280px; }
  .about-mark strong { margin-top: 88px; }
  .reference-layout { gap: 35px; margin-top: 35px; }
  .contact-layout { gap: 42px; }
  .contact-panel { min-height: 0; padding: 30px; }
  .footer-layout { align-items: flex-start; flex-direction: column; }
  .cookie-banner { right: 12px; bottom: 12px; left: 12px; align-items: flex-start; flex-direction: column; gap: 14px; padding: 17px; }
  .cookie-actions { width: 100%; justify-content: space-between; }
  .legal-main { padding: 72px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
