:root {
  color-scheme: light;
  --ink: #142638;
  --navy: #142d4a;
  --blue: #006ec6;
  --bright: #70bafa;
  --light: #f1f7fe;
  --home-start: #e6eaed;
  font-family: system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
}
html { scroll-padding-top: var(--header-offset, 114px); }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: clamp(1rem, .96rem + .19vw, 1.125rem); line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--bright); outline-offset: 4px; }
.shell { width: min(1240px, calc(100% - 2 * clamp(12px, 4vw, 36px))); margin-inline: auto; }
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid #dce8f4;
  box-shadow: 0 3px 14px #1426380c;
}
.home-page .top:not(.top--scrolled) {
  background: var(--home-start);
  border-bottom-color: #1d344519;
  box-shadow: none;
}
.bar, footer .shell { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.bar { min-height: 88px; }
.logo { width: 164px; height: auto; }
.bar .logo { width: 164px; }
nav { display: flex; flex-wrap: wrap; gap: clamp(12px, 3vw, 36px); }
nav a {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: .88rem;
  font-weight: 720;
}
nav a:hover, nav a[aria-current] { color: var(--blue); }
.top nav a[aria-current] {
  text-decoration: underline;
  text-underline-offset: .45em;
  text-decoration-thickness: 2px;
}
.header-career[aria-current] { background-position: 100% 0; }
.hero {
  background: linear-gradient(135deg, #fff 25%, #f0f7ff 100%);
  border-bottom: 1px solid #dce8f4;
  padding-block: clamp(42px, 6vw, 88px);
}
#pocetna, .about { position: relative; isolation: isolate; overflow: clip; }
#pocetna, .about, .section-transition {
  --lemes-motif: linear-gradient(128deg,
    #097ac000 0%, #097ac0 47%, transparent 47% 54%,
    #097ac0 54% 62%, transparent 62% 69%,
    #097ac0 69% 77%, transparent 77% 84%, #097ac0 84% 92%, transparent 92%);
}
#pocetna::before, .about::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  background: var(--lemes-motif);
  width: min(74vw, 780px);
  height: clamp(36px, 9vw, 128px);
  right: -2%;
  bottom: 3%;
  opacity: .14;
}
.about::before { bottom: 8%; opacity: .08; }
.section-transition {
  position: relative;
  height: clamp(40px, 6.5vw, 92px);
  background: linear-gradient(180deg, #f8fafc, #eaf1f6 55%, #f8fafc);
}
.section-transition::before {
  content: "";
  position: absolute;
  inset: 20% 0;
  background: var(--lemes-motif);
  opacity: .14;
}
.section-transition--left::before { transform: scaleX(-1); }
#pocetna {
  color: #172635;
  background:
    linear-gradient(118deg, transparent 63%, #283c5033 63%, transparent 93%),
    linear-gradient(180deg, var(--home-start), #cdd7de);
  border-bottom: 0;
  padding-block: clamp(52px, 7vw, 102px);
}
#pocetna h1 { font-size: clamp(1.3rem, 10.4cqw, 4rem); hyphens: none; }
#pocetna h1 span { color: #045a92; }
#pocetna .hero-copy {
  container-type: inline-size;
  border-inline-start: 3px solid #0077b7;
  padding-inline-start: clamp(14px, 2.4vw, 30px);
}
#pocetna p { color: #344755; }
.hero-visual { isolation: isolate; }
.hero-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: clamp(5px, 1vw, 12px) -8px -8px clamp(5px, 1vw, 12px);
  border-radius: 20px;
  background: #61798b55;
}
#pocetna .hero-photo { box-shadow: 0 20px 50px #23374a30; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(24px, 4vw, 58px);
}
.hero-photo {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 16px 42px #1738541f;
}
h1, h2, h3 { overflow-wrap: normal; word-break: normal; hyphens: none; line-height: 1.06; margin: 0 0 22px; letter-spacing: -.042em; }
h1, h2 { font-weight: 825; text-transform: uppercase; }
h1 { font-size: clamp(1.5rem, 1.15rem + 2.85vw, 4rem); line-height: 1.08; text-wrap: balance; }
h1 span { display: block; color: var(--blue); }
h2 { font-size: clamp(1.5rem, 1.15rem + 2.45vw, 3.25rem); hyphens: none; text-wrap: balance; }
h2 span { color: var(--blue); }
h3 { font-size: clamp(1.22rem, 1.03rem + 1.4vw, 2.25rem); }
p { margin: 0 0 26px; }
p, li, address, .form-note, footer a { overflow-wrap: anywhere; }
.hero p { max-width: 46ch; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.button {
  display: inline-block;
  max-width: 100%;
  padding: 12px clamp(12px, 2vw, 25px);
  white-space: normal;
  overflow-wrap: anywhere;
  background: linear-gradient(110deg, var(--blue) 0 49%, #124b87 50% 100%) 0 0 / 205% 100%;
  border-radius: 7px;
  color: #fff;
  font-size: .88rem;
  font-weight: 750;
  letter-spacing: .065em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-position .25s ease;
}
.button:hover { background-position: 100% 0; }
.services, .about, .career, .contact, .cabinet-section, .industries, .workflow { padding-block: clamp(52px, 8vw, 112px); }
.cards, .about-grid, .contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 4vw, 52px); }
.cards { gap: clamp(16px, 2.5vw, 32px); }
.card { overflow: hidden; border: 1px solid #dce8f4; border-radius: 16px; background: #fff; }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 62%; }
.card-content { padding: clamp(22px, 4vw, 42px); }
.card-content h3 { text-transform: uppercase; }
.card-content p { margin: 0; }
.about p:last-child, .cabinet-section p:last-child { margin-bottom: 0; }
.card-content ul { margin: 16px 0 0; padding-left: 1.2em; }
.card-content li + li { margin-top: 8px; }
.card-content li::marker { color: var(--blue); }
@media (min-width: 691px) {
  @supports (grid-template-rows: subgrid) {
    .cards { row-gap: 0; }
    .card, .card-content { display: grid; grid-template-rows: subgrid; }
    .card { grid-row: span 4; }
    .card-content { grid-row: span 3; }
  }
}
.about {
  background:
    linear-gradient(177deg, #cdd7de, #edf0f2 54%, #fff 100%);
  border-top: 1px solid #ffffff50;
  padding-bottom: clamp(42px, 7vw, 94px);
}
.about .marked-photo img {
  box-shadow: 0 18px 40px #16385824;
  border: 1px solid #ffffffa6;
}
.about-grid { align-items: center; }
.about img, .career img, .cabinet-section img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; }
.section-lead { max-width: 62ch; }
.industries { background: var(--light); }
.industry-grid, .workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.5vw, 28px);
}
.industry-grid article {
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid #dce8f4;
  border-radius: 16px;
  background: #fff;
}
.industry-grid h3, .workflow-grid h3 { font-size: clamp(1.25rem, 2.2vw, 1.65rem); margin-bottom: 12px; }
.industry-grid p, .workflow-grid p { margin: 0; }
.workflow-grid { margin: 30px 0; padding: 0; list-style-position: inside; }
.workflow-grid li { border-top: 2px solid #81b9ed; padding-top: 16px; }
.workflow-grid li::marker { color: var(--blue); font-weight: 750; }
.workflow-grid h3 { display: inline; }
.workflow-grid p { margin-top: 8px; }
.career { background: #e8f3ff; }
.career img { object-position: center 62%; }
.contact { align-items: start; }
.inquiry { display: grid; gap: 7px; padding: clamp(18px, 4vw, 36px); background: var(--light); border: 1px solid #dce8f4; border-radius: 16px; }
.inquiry label { font-weight: 680; }
.inquiry input, .inquiry textarea, #public-application select {
  min-width: 0;
  width: 100%;
  margin-bottom: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #8095a5;
  border-radius: 6px;
  font: inherit;
}
.inquiry textarea { resize: vertical; }
.inquiry button { justify-self: start; border: 0; cursor: pointer; }
.form-note { font-size: .94rem; margin: 0 0 8px; }
#inquiry-status { margin: 4px 0 0; }
#inquiry-status:empty { display: none; }
address { font-style: normal; border-left: 4px solid var(--blue); padding-left: clamp(12px, 3vw, 24px); align-self: center; }
footer { background: var(--light); border-top: 1px solid #dce8f4; padding-block: 22px; font-size: .9rem; }
footer .logo { width: 124px; }
.footer-top { flex-wrap: wrap; }
.footer-links { gap: 8px 22px; }
#pravne-informacije:focus { outline: none; }
.footer-links a:focus-visible { outline: none; text-decoration: underline; text-underline-offset: .25em; color: var(--bright); }
.footer-links a { text-transform: none; letter-spacing: normal; font-size: .9rem; }
.legal-notices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; margin-top: 22px; }
.legal-notices section { display: none; border-top: 1px solid #c8dcee; padding-block: 20px 4px; grid-column: 1 / -1; max-width: 76ch; }
.legal-notices section:target { display: block; }
.legal-notices h3 { font-size: 1.25rem; margin-bottom: 12px; }
.legal-notices p { margin-bottom: 12px; }
@media print {
  .legal-notices section { display: block; }
}
@media (max-width: 880px) {
  .header-career { display: none; }
}
@media (max-width: 690px) {
  .hero-grid, .cards, .about-grid, .contact, .industry-grid, .workflow-grid { grid-template-columns: 1fr; }
  .bar { flex-wrap: wrap; padding-block: 10px; row-gap: 7px; min-height: auto; }
  .bar .logo { width: 114px; }
  nav { gap: 6px clamp(9px, 3vw, 18px); min-width: 0; }
  nav a { font-size: .78rem; }
  .hero-photo { border-radius: 14px; }
}
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 440px) {
  .home-page .bar nav { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}

.marked-photo {
  display: block;
  position: relative;
  min-width: 0;
}
.photo-pair {
  --photo-height: clamp(250px, 33vw, 450px);
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr);
  gap: clamp(10px, 2vw, 28px);
  padding: clamp(8px, 1.5vw, 20px);
  border: 1px solid #dce8f4;
  border-radius: 20px;
  background: #f7fbff;
}
.photo-feature, .photo-scroll {
  min-width: 0;
  height: var(--photo-height);
}
.photo-feature img, .photo-list img {
  width: 100%;
  height: 100%;
  border-radius: clamp(8px, 1.25vw, 16px);
  object-fit: cover;
}
.photo-scroll {
  overflow-y: auto;
  scrollbar-color: #9ebcd7 transparent;
  scrollbar-width: thin;
  border-radius: clamp(8px, 1.25vw, 16px);
  padding-inline-end: 4px;
}
.photo-scroll:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.photo-list {
  display: grid;
  gap: clamp(8px, 1.3vw, 16px);
  list-style: none;
  padding: 0;
  margin: 0;
}
.photo-list img { height: auto; }
@media (max-width: 560px) {
  .photo-pair {
    --photo-height: clamp(146px, 44vw, 245px);
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    gap: 8px;
    border-radius: 12px;
  }
  .photo-feature img, .photo-list img { object-position: center; }
}

.about + .services { padding-top: clamp(26px, 4vw, 54px); }

.services-intro {
  position: relative;
  padding-inline-start: clamp(14px, 2.4vw, 32px);
  border-inline-start: 4px solid var(--blue);
  margin-bottom: clamp(26px, 5vw, 58px);
}
.services-intro h2 { margin-bottom: 12px; }
.services-intro p { margin-bottom: 0; max-width: 62ch; }
.service-panels { display: grid; gap: clamp(22px, 4vw, 54px); }
.service-panel {
  --panel-edge: #dce8f4;
  --panel-fill: #f9fcff;
  --panel-text: var(--ink);
  --panel-accent: var(--blue);
  position: relative;
  overflow: hidden;
  padding: clamp(16px, 3.4vw, 44px);
  border: 1px solid var(--panel-edge);
  border-radius: clamp(16px, 2.5vw, 30px);
  background: var(--panel-fill);
  color: var(--panel-text);
  box-shadow: 0 15px 40px #15344e0b;
}
.service-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--panel-accent), transparent 68%);
  pointer-events: none;
}
.service-copy { max-width: 76ch; margin-bottom: clamp(18px, 3vw, 34px); }
.service-copy h3 {
  margin-bottom: 11px;
  font-size: clamp(1.22rem, 1rem + 1.65vw, 2.2rem);
  text-wrap: balance;
}
.service-copy p { margin: 0 0 12px; }
.service-copy p:last-child { margin-bottom: 0; }
.service-copy ul { margin: 0; padding-inline-start: 1.15em; }
.service-copy li + li { margin-top: 3px; }
.service-copy li::marker { color: var(--panel-accent); }
.service-panel .photo-pair {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.service-panel--dark .photo-pair {
  background: linear-gradient(128deg, #10243a, #1d3b54);
  padding: clamp(6px, 1vw, 14px);
  border-radius: clamp(11px, 1.8vw, 22px);
}
.service-panel--dark .photo-scroll { scrollbar-color: #8eafcc #172f46; }
.service-panel .photo-scroll:focus-visible { outline-color: var(--panel-accent); }

.contact-location {
  margin-top: clamp(24px, 4vw, 46px);
  padding-top: clamp(18px, 3vw, 28px);
  border-top: 1px solid #dce8f4;
}
.contact-location h3 { margin-bottom: 12px; }
.contact-location p { margin-bottom: 14px; }
.map-preview {
  display: grid;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid #dce8f4;
  border-radius: 16px;
  background: linear-gradient(145deg, #edf6ff, #f8fbff);
}
.map-placeholder {
  display: grid;
  place-content: center;
  gap: 4px;
  padding: 18px;
  text-align: center;
}
.map-placeholder[hidden] { display: none; }
.map-placeholder strong { font-size: 1.08rem; }
.map-preview iframe { display: block; width: 100%; height: 100%; min-height: 220px; border: 0; }
.contact-location .map-note { margin: 10px 0 12px; font-size: .9rem; }
.map-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.map-actions a { color: var(--blue); font-size: .94rem; text-underline-offset: .15em; }
.map-toggle {
  border: 1px solid #abc8e2;
  border-radius: 8px;
  background: #edf6ff;
  color: var(--navy);
  padding: 7px 12px;
  font: inherit;
  font-size: .94rem;
  font-weight: 650;
  cursor: pointer;
}
.map-toggle:hover { background: #e0effd; }
.map-toggle:focus-visible { outline: 3px solid var(--bright); outline-offset: 3px; }
.career-email { margin: 12px 0 0; overflow-wrap: anywhere; }
.career-email a { color: var(--blue); text-underline-offset: .15em; }

.hero-copy p { margin-bottom: 0; }

.application-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 8px 20px; }

.service-panels { isolation: isolate; }
@media (prefers-reduced-motion: no-preference) {
  .service-panel {
    position: sticky;
    top: min(var(--header-offset, 114px), calc(100dvh - var(--service-height, 100dvh) - 16px));
  }
  .service-panel:focus-within { z-index: 1; }
}

.services-intro, .service-copy, .about-grid > div, .contact > div:first-child {
  min-width: 0;
  container-type: inline-size;
}
.services-intro h2, .about-grid h2, .contact h2 {
  font-size: clamp(1.2rem, 8.8cqw, 3.25rem);
}
.service-copy h3 {
  font-size: clamp(1.15rem, 7.6cqw, 2.2rem);
}

.about .field-map img {
  display: block;
  border: 1px solid #b9cddd;
  box-shadow: 0 18px 40px #16385824;
}

@media (prefers-reduced-motion: no-preference) {
  .industries, .workflow { overflow: clip; }
  .scroll-tile { opacity: 0; }
  .scroll-tile--entered {
    opacity: 1;
    animation: tile-arrival 620ms cubic-bezier(.2, .75, .25, 1) backwards;
  }
  @media (min-width: 691px) {
    .scroll-tile--entered:nth-child(2) { animation-delay: 110ms; }
    .scroll-tile--entered:nth-child(3) { animation-delay: 220ms; }
  }
}
@keyframes tile-arrival {
  from { transform: translateX(-100vw); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

#o-nama { background: #fff; }
#o-nama::before { content: none; }
.about .field-map img {
  display: block;
  aspect-ratio: auto;
  object-fit: contain;
}

.career-application {
  display: none;
  margin-top: clamp(24px, 4vw, 52px);
}
.career-application:target { display: block; }

.back-to-top:not([hidden]) {
  position: fixed;
  inset-inline-end: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 20;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #142d44;
  color: #fff;
  box-shadow: 0 5px 16px #142d4433;
  font-size: 1.5rem;
  text-decoration: none;
}
.back-to-top:hover { background: #086ca6; }
.back-to-top:focus-visible { outline: 3px solid #009dff; outline-offset: 3px; }

#public-application {
  min-width: 0;
  border-top: 2px solid #b9d1e4;
  border-start-start-radius: 0;
  border-start-end-radius: 0;
}

.career-application:focus { outline: none; }
.career-application:focus > h3 { text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: .2em; }

.whatsapp-contact {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  color: #116848;
}


:root {
  color-scheme: dark;
  --ink: #edf4fc;
  --navy: #d7edff;
  --blue: #45acff;
  --bright: #80caff;
  --light: #101a27;
  --home-start: #090f17;
  background: #080d14;
}
.top, .home-page .top:not(.top--scrolled) {
  background: #090f17;
  border-bottom-color: #24374a;
}
#pocetna {
  color: var(--ink);
  background: linear-gradient(118deg, #090f17 30%, #0c1d30 68%, #102d49);
}
#pocetna h1 span, .map-toggle { color: var(--bright); }
#pocetna p { color: #b9cada; }
#o-nama, .about { background: #101a27; }
.section-transition { background: linear-gradient(180deg, #080d14, #102740 55%, #080d14); }
.section-transition::before, #pocetna::before { opacity: .35; }
.industries, .career { background: #101a27; }
.industry-grid article, .card, .inquiry {
  background: #111f2e;
  border-color: #29435b;
}
.service-panel {
  --panel-edge: #29435b;
  --panel-fill: #101923;
  --panel-text: var(--ink);
  --panel-accent: var(--blue);
}
.service-panel--dark .photo-pair { background: linear-gradient(128deg, #0a1421, #10263c); }
.button { background-image: linear-gradient(110deg, #07558f 0 49%, #123957 50% 100%); }
.inquiry input, .inquiry textarea, #public-application select {
  background: #090f17;
  border-color: #4a637b;
}
#public-application { border-top-color: #416382; }
.map-preview, .map-toggle { background: #14283c; border-color: #416382; }
.map-toggle:hover { background: #1d3852; }
footer, .contact-location { border-color: #29435b; }
.whatsapp-contact { color: #73e5ad; }

body { -webkit-user-select: none; user-select: none; }
input, textarea, select, [contenteditable="true"] { -webkit-user-select: text; user-select: text; }

.home-page .top:not(.top--scrolled) {
  border-bottom-color: transparent;
  background: #090f17;
}
#pocetna {
  display: grid;
  align-items: center;
  min-height: calc(100vh - var(--header-offset, 106px) + 18px);
  min-height: calc(100svh - var(--header-offset, 106px) + 18px);
  padding-block: clamp(24px, 4vw, 64px);
  background: radial-gradient(ellipse at 87% 90%, #102d49, transparent 75%), #090f17;
}
@media (max-width: 760px) {
  #pocetna .hero-grid { gap: clamp(12px, 3vw, 24px); }
  #pocetna .hero-photo { max-height: 34svh; object-fit: cover; }
}
@media (prefers-reduced-motion: no-preference) {
  #pocetna .hero-grid { animation: hero-arrival .68s ease-out both; }
}
@keyframes hero-arrival {
  from { transform: translateY(-42px); opacity: .25; }
  to { transform: translateY(0); opacity: 1; }
}
.about .field-map img { background: #19212a; border-color: #3a4651; }

.legal-close { display: inline-block; padding: 6px 0; color: var(--bright); }

.footer-copyright { margin: 0; }

.locale-picker { display: inline-flex; gap: .35rem; align-items: center; font-size: .8rem; }
.locale-picker select { padding: .2rem; background: var(--light); color: var(--ink); border: 1px solid #416382; border-radius: .3rem; }
@media (max-width: 440px) { .locale-label { display: none; } }

html:not(.form-security-visible) .grecaptcha-badge {
  visibility: hidden !important;
}
.form-security-active.form-security-visible .grecaptcha-badge {
  z-index: 25;
}
.form-security-active.form-security-visible .back-to-top {
  bottom: calc(max(14px, env(safe-area-inset-bottom)) + 84px);
}
