:root {
  --gx-blue: #3268aa;
  --gx-blue-dark: #1e4878;
  --gx-navy: #142d4a;
  --gx-text: #18232e;
  --gx-muted: #5f6d79;
  --gx-line: #dce4eb;
  --gx-soft: #f3f7fb;
  --gx-white: #fff;
  --gx-shadow: 0 20px 55px rgba(20,45,74,.10);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--gx-text);
  line-height: 1.65;
}

a {
  text-underline-offset: .2em;
}

.py-lg-6 {
  padding-top: 6rem!important;
  padding-bottom: 6rem!important;
}

.topbar {
  background: var(--gx-navy);
  color: rgba(255,255,255,.88);
  font-size: .88rem;
}

.topbar a {
  color: #fff;
  text-decoration: none;
}

.topbar a:hover {
  text-decoration: underline;
}

.navbar {
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--gx-line);
  backdrop-filter: blur(12px);
}

.navbar-brand img {
  display: block;
  width: min(310px, 59vw);
  height: auto;
}

.nav-link {
  color: var(--gx-text)!important;
  font-weight: 680;
  padding-inline: .8rem!important;
}

.nav-link:hover, .nav-link.active {
  color: var(--gx-blue)!important;
}

.dropdown-menu {
  border: 1px solid var(--gx-line);
  border-radius: .9rem;
  box-shadow: var(--gx-shadow);
  padding: .55rem;
}

.dropdown-item {
  border-radius: .55rem;
  padding: .65rem .8rem;
}

.dropdown-item:hover {
  background: var(--gx-soft);
  color: var(--gx-blue-dark);
}

.btn {
  border-radius: .72rem;
  font-weight: 750;
  padding-inline: 1.15rem;
}

.btn-primary {
  --bs-btn-bg: var(--gx-blue);
  --bs-btn-border-color: var(--gx-blue);
  --bs-btn-hover-bg: var(--gx-blue-dark);
  --bs-btn-hover-border-color: var(--gx-blue-dark);
}

.btn-outline-primary {
  --bs-btn-color: var(--gx-blue-dark);
  --bs-btn-border-color: var(--gx-blue);
  --bs-btn-hover-bg: var(--gx-blue);
  --bs-btn-hover-border-color: var(--gx-blue);
}

.btn-whatsapp {
  background: #17854f;
  border-color: #17854f;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #116c3f;
  border-color: #116c3f;
  color: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg,#fff 0%,#f5f8fc 58%,#eaf1f9 100%);
  border-bottom: 1px solid var(--gx-line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -180px -280px auto;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  border: 1px solid rgba(50,104,170,.16);
  box-shadow: 0 0 0 85px rgba(50,104,170,.045), 0 0 0 175px rgba(50,104,170,.025);
}

.eyebrow {
  color: var(--gx-blue);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #bcd6f4;
}

.display-title {
  max-width: 900px;
  font-size: clamp(2.65rem, 5.4vw, 5.2rem);
  font-weight: 820;
  letter-spacing: -.052em;
  line-height: 1.01;
}

.hero-copy {
  max-width: 720px;
  color: var(--gx-muted);
  font-size: clamp(1.08rem, 1.9vw, 1.3rem);
}

.hero-visual {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  border-radius: 1.45rem;
  background: linear-gradient(145deg,var(--gx-navy),var(--gx-blue));
  box-shadow: var(--gx-shadow);
}

.hero-visual > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-note {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  display: grid;
  gap: .15rem;
  padding: 1rem 1.1rem;
  border-radius: .9rem;
  background: rgba(255,255,255,.94);
}

.hero-note span {
  color: var(--gx-muted);
  font-size: .9rem;
}

.section {
  padding: 5.2rem 0;
}

.section-soft {
  background: var(--gx-soft);
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  font-weight: 820;
  letter-spacing: -.04em;
  line-height: 1.08;
}

.service-link {
  color: inherit;
  text-decoration: none;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 270px;
  padding: 1.55rem;
  overflow: hidden;
  border: 1px solid var(--gx-line);
  border-radius: 1rem;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -55px;
  top: -55px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 1px solid rgba(50,104,170,.13);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(50,104,170,.43);
  box-shadow: var(--gx-shadow);
}

.service-number {
  display: grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  margin-bottom: 1.4rem;
  border-radius: .78rem;
  background: var(--gx-soft);
  color: var(--gx-blue);
  font-weight: 850;
}

.service-card h3 {
  max-width: 88%;
  font-size: 1.25rem;
  font-weight: 800;
}

.service-card p {
  color: var(--gx-muted);
}

.service-card .more {
  margin-top: auto;
  color: var(--gx-blue-dark);
  font-weight: 780;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: .8rem;
}

.reason-item {
  position: relative;
  padding: 1rem 1rem 1rem 3rem;
  border: 1px solid var(--gx-line);
  border-radius: .85rem;
  background: #fff;
  font-weight: 680;
}

.reason-item::before {
  content: "✓";
  position: absolute;
  left: 1rem;
  top: .86rem;
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--gx-blue);
  color: #fff;
  font-size: .75rem;
}

.area-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(2.2rem,5vw,4.5rem);
  border-radius: 1.4rem;
  background: var(--gx-navy);
  color: #fff;
}

.area-panel p {
  color: rgba(255,255,255,.76);
  font-size: 1.05rem;
}

.area-lines {
  position: relative;
  min-height: 230px;
}

.area-lines span {
  position: absolute;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
}

.area-lines span:nth-child(1) {
  inset: 10% 5% 10% 22%;
}

.area-lines span:nth-child(2) {
  inset: 25% 18% 25% 8%;
}

.area-lines span:nth-child(3) {
  width: 12px;
  height: 12px;
  left: 52%;
  top: 48%;
  background: #fff;
  border: 0;
}

.area-lines span:nth-child(4) {
  width: 70%;
  height: 1px;
  left: 12%;
  top: 52%;
  border: 0;
  border-top: 1px dashed rgba(255,255,255,.35);
  transform: rotate(-22deg);
}

.contact-cta {
  padding: clamp(2rem,5vw,4rem);
  border: 1px solid var(--gx-line);
  border-radius: 1.35rem;
  background: #fff;
  box-shadow: var(--gx-shadow);
}

footer {
  padding: 4rem 0 1.5rem;
  background: #101b26;
  color: #dce4eb;
}

footer a {
  color: #dce4eb;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-logo {
  max-width: 285px;
  filter: grayscale(1) brightness(0) invert(1);
}

.page-hero {
  padding: 4.5rem 0;
  background: linear-gradient(120deg,#f8fafc,#edf3fa);
  border-bottom: 1px solid var(--gx-line);
}

.content-card {
  padding: clamp(1.4rem,3vw,2.4rem);
  border: 1px solid var(--gx-line);
  border-radius: 1rem;
}

.contact-panel {
  position: sticky;
  top: 110px;
  padding: 1.5rem;
  border-radius: 1rem;
  background: var(--gx-navy);
  color: #fff;
}

.notice {
  padding: 1rem;
  border-left: 4px solid var(--gx-blue);
  border-radius: 0 .75rem .75rem 0;
  background: var(--gx-soft);
}

.checklist li {
  margin-bottom: .65rem;
}

@media (max-width: 991.98px) {
  .py-lg-6 {
    padding-top: 4rem!important;
    padding-bottom: 4rem!important;
  }

  .topbar > .container > span {
    display: none;
  }

  .hero-visual {
    min-height: 310px;
  }

  .section {
    padding: 4rem 0;
  }

  .contact-panel {
    position: static;
  }
}

@media (max-width: 575.98px) {
  .topbar {
    font-size: .78rem;
  }

  .navbar-brand img {
    width: 215px;
  }

  .display-title {
    font-size: 2.55rem;
  }

  .hero .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 250px;
  }

  .reason-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 235px;
  }
}

/* Unutarnje stranice, kontakt i česta pitanja */
.page-title {
  max-width: 980px;
  font-size: clamp(2.45rem,5vw,4.7rem);
  font-weight: 830;
  letter-spacing: -.05em;
  line-height: 1.03;
}

.breadcrumb {
  font-size: .9rem;
}

.breadcrumb a {
  color: var(--gx-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--gx-blue);
}

.prose h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: clamp(1.45rem,2.5vw,2rem);
  font-weight: 800;
  letter-spacing: -.025em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,.prose li {
  color: #43515e;
}

.content-section+ .content-section {
  border-top: 1px solid var(--gx-line);
  margin-top: 2.4rem;
  padding-top: .15rem;
}

.process-list {
  padding-left: 1.25rem;
}

.process-list li {
  margin-bottom: .7rem;
  padding-left: .25rem;
}

.related-grid {
  display: grid;
  gap: .7rem;
}

.related-link {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--gx-line);
  border-radius: .8rem;
  color: var(--gx-text);
  font-weight: 750;
  text-decoration: none;
}

.related-link:hover {
  border-color: var(--gx-blue);
  color: var(--gx-blue);
  background: var(--gx-soft);
}

.history-mark {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 2rem;
  border-radius: 1.3rem;
  background: linear-gradient(145deg,var(--gx-navy),var(--gx-blue));
  color: #fff;
  text-align: center;
  box-shadow: var(--gx-shadow);
}

.history-mark span {
  font-size: clamp(4.5rem,10vw,8rem);
  font-weight: 850;
  letter-spacing: -.08em;
  line-height: 1;
}

.history-mark p {
  max-width: 260px;
  margin: 1rem 0 0;
  color: rgba(255,255,255,.78);
}

.award-image {
  display: block;
  width: min(100%,420px);
  height: auto;
  margin: auto;
  border-radius: 1.2rem;
  box-shadow: var(--gx-shadow);
}

.company-data {
  padding: 1.6rem;
  border: 1px solid var(--gx-line);
  border-radius: 1rem;
  background: var(--gx-soft);
}

.company-data dl {
  margin: 0;
}

.company-data dt {
  margin-top: 1rem;
  color: var(--gx-muted);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.company-data dd {
  margin-bottom: 0;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.contact-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.4rem;
  border: 1px solid var(--gx-line);
  border-radius: 1rem;
  color: var(--gx-text);
  text-decoration: none;
  background: #fff;
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: var(--gx-blue);
  box-shadow: var(--gx-shadow);
}

.contact-card strong {
  font-size: 1.15rem;
}

.contact-card>span:last-child {
  color: var(--gx-muted);
  overflow-wrap: anywhere;
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  margin-bottom: 1rem;
  border-radius: .75rem;
  background: var(--gx-soft);
  color: var(--gx-blue);
  font-size: 1.2rem;
  font-weight: 850;
}

.address-box {
  display: grid;
  gap: .15rem;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--gx-blue);
  background: var(--gx-soft);
  border-radius: 0 .75rem .75rem 0;
}

.map-wrap {
  overflow: hidden;
  min-height: 430px;
  border: 1px solid var(--gx-line);
  border-radius: 1rem;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
}

.faq-layout {
  max-width: 920px;
  margin-inline: auto;
}

.faq-group+.faq-group {
  margin-top: 3.5rem;
}

.faq-group>h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(1.7rem,3vw,2.4rem);
  font-weight: 820;
  letter-spacing: -.035em;
}

.accordion-item {
  border: 1px solid var(--gx-line)!important;
  border-radius: .85rem!important;
  overflow: hidden;
  margin-bottom: .7rem;
}

.accordion-button {
  font-weight: 760;
  font-size: 1.03rem;
}

.accordion-button:not(.collapsed) {
  color: var(--gx-blue-dark);
  background: var(--gx-soft);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 .2rem rgba(50,104,170,.14);
}

.accordion-body {
  color: #43515e;
}

.article-prose {
  font-size: 1.04rem;
}

.article-prose>.lead {
  font-size: 1.25rem;
  color: var(--gx-text);
}

@media (max-width:575.98px) {
  .page-title {
    font-size: 2.45rem;
  }

  .map-wrap,.map-wrap iframe {
    min-height: 330px;
    height: 330px;
  }

  .contact-card {
    padding: 1.15rem;
  }
}

/* Naslovnica, kontakt i pristupačnost */
.hero-field::before {
  opacity: .4;
}

.hero-field .display-title {
  font-size: clamp(2.65rem,4.5vw,4.5rem);
  line-height: 1.07;
  max-width: 620px;
}

.hero-field .hero-copy {
  font-size: 1.15rem;
  max-width: 570px;
}

.hero-email {
  display: inline-block;
  margin-top: 1.1rem;
  color: var(--gx-blue-dark);
  font-weight: 650;
}

.hero-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1.4rem;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--gx-line);
  color: var(--gx-muted);
  font-size: .88rem;
}

.field-photo {
  position: relative;
  overflow: hidden;
  border-radius: 1.2rem;
  background: var(--gx-navy);
  box-shadow: var(--gx-shadow);
}

.field-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 563;
  object-fit: cover;
}

.field-photo figcaption {
  display: grid;
  gap: .4rem;
  padding: 1.4rem 1.6rem;
  color: #fff;
}

.field-photo figcaption .eyebrow {
  color: #bcd6f4;
  font-size: .7rem;
}

.field-photo figcaption strong {
  font-size: 1.35rem;
  line-height: 1.3;
}

.field-photo figcaption > span:last-child {
  color: #dce4eb;
  font-size: .92rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}

.steps-grid li {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--gx-line);
  border-radius: 1rem;
}

.step-number {
  display: block;
  margin-bottom: 1.4rem;
  color: var(--gx-blue);
  font-weight: 800;
}

.steps-grid h3 {
  font-size: 1.2rem;
  font-weight: 750;
  line-height: 1.35;
}

.steps-grid p {
  color: var(--gx-muted);
  margin-bottom: 0;
}

.trust-panel {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
}

.trust-panel > div > p {
  margin-top: 1.3rem;
  color: var(--gx-muted);
}

.text-link {
  font-weight: 750;
  color: var(--gx-blue-dark);
}

.engineer-card {
  padding: 2rem;
  border: 1px solid var(--gx-line);
  border-radius: 1rem;
  background: var(--gx-soft);
}

.engineer-card h3 {
  margin-top: .7rem;
  font-weight: 800;
}

.contact-card-whatsapp {
  background: #eef8f2;
  border-color: #17854f;
}

.contact-card-whatsapp .contact-icon {
  background: #17854f;
  color: #fff;
}

.skip-link {
  position: fixed;
  top: .5rem;
  left: .5rem;
  z-index: 1100;
  padding: .7rem 1rem;
  background: #fff;
  color: var(--gx-navy);
  border: 2px solid var(--gx-blue);
  border-radius: .5rem;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible, button:focus-visible {
  outline: 3px solid #3268aa;
  outline-offset: 4px;
}

#glavni-sadrzaj, #usluge {
  scroll-margin-top: 110px;
}

footer a {
  overflow-wrap: anywhere;
}

@media (min-width:992px) and (max-width:1199.98px) {
  .navbar-brand img {
    width: 245px;
  }

  .nav-link {
    padding-inline: .55rem!important;
  }

  .nav-whatsapp {
    padding-inline: .85rem;
  }
}

@media (max-width:991.98px) {
  .trust-panel {
    gap: 1.5rem;
  }

  .hero-field .display-title {
    max-width: 700px;
  }
}

@media (max-width:767.98px) {
  .steps-grid, .trust-panel {
    grid-template-columns: 1fr;
  }

  .steps-grid li {
    padding: 1.25rem;
  }

  .step-number {
    margin-bottom: .7rem;
  }
}

@media (max-width:575.98px) {
  .hero-field .display-title {
    font-size: 2.55rem;
  }

  .hero-actions {
    width: 100%;
  }

  .field-photo figcaption {
    padding: 1.2rem;
  }

  .engineer-card {
    padding: 1.4rem;
  }

  .navbar-brand img {
    width: min(215px,57vw);
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    transition: none!important;
  }

  .service-card:hover, .contact-card:hover {
    transform: none;
  }
}
