:root {
  --st-teal: #0d6c8c;
  --st-teal-dark: #0a5570;
  --st-teal-light: #6ecbe4;
  --st-charcoal: #0e2a36;
  --st-charcoal-soft: #14424f;
  --st-ink: #46616c;
  --st-bg-soft: #f3fafd;
  --st-border: #d9e7ef;
  --st-radius: 16px;
  --st-radius-lg: 24px;
  --st-shadow: 0 14px 34px -18px rgba(13, 108, 140, 0.55);
}

/* ---------- Mobile spacing ---------- */
@media (max-width: 767.98px) {
  /* side padding: 12px -> 20px */
  .container {
    --bs-gutter-x: 2.5rem;
  }
  /* gap between boxes: 20px both ways (x also applies to the 2-per-row contact grid) */
  .row {
    --bs-gutter-x: 1.25rem;
    --bs-gutter-y: 1.25rem;
  }
}

/* ---------- Navbar ---------- */
.st-navbar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--st-border);
}
.st-navbar .nav-link {
  color: var(--st-charcoal-soft);
  font-weight: 500;
  font-size: 0.95rem;
}
.st-navbar .nav-link:hover,
.st-navbar .nav-link:focus {
  color: var(--st-teal);
}
.st-navbar-logo {
  height: 50px;
  width: auto;
  display: block;
}
@media (max-width: 991.98px) {
  .st-navbar-logo {
    height: 50px;
  }
}
.st-nav-toggler {
  border: 0;
  background: transparent;
  padding: 0.25rem;
  color: var(--st-charcoal);
  line-height: 1;
  box-shadow: none;
}
.st-nav-toggler:focus,
.st-nav-toggler:focus-visible {
  outline: 0;
  box-shadow: none;
}
.st-icon-close {
  display: none;
}
.st-nav-toggler[aria-expanded="true"] .st-icon-menu {
  display: none;
}
.st-nav-toggler[aria-expanded="true"] .st-icon-close {
  display: block;
}
@media (max-width: 991.98px) {
  /* backdrop-filter makes the navbar the containing block for position:fixed
     children, which would shrink the full-screen menu to navbar height */
  .st-navbar {
    backdrop-filter: none;
    background: #fff;
  }
  .st-nav-toggler {
    position: relative;
    z-index: 1060;
  }
  .st-nav-toggler[aria-expanded="true"] {
    color: #fff;
  }
  #st-nav-collapse {
    position: fixed;
    inset: 0;
    background: var(--st-charcoal);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 1050;
    padding: 2rem;
  }
  #st-nav-collapse.show {
    display: flex;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  html.st-menu-open,
  html.st-menu-open body {
    overflow: hidden;
  }
  #st-nav-collapse .navbar-nav {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    /* cancel ms-auto / mb-2, otherwise the list is pushed to the right */
    margin: 0 !important;
  }
  #st-nav-collapse .navbar-nav > li {
    margin: 0 !important;
  }
  #st-nav-collapse .nav-link {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    padding: 0;
  }
  #st-nav-collapse .nav-link:hover {
    color: var(--st-teal-light);
  }
  #st-nav-collapse .st-btn-call {
    font-size: 1.05rem;
    padding: 0.85rem 2.2rem;
  }
}
.st-btn-call {
  background: var(--st-teal);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.1rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  transition: background 0.15s ease;
}
.st-btn-call:hover {
  background: var(--st-teal-dark);
  color: #fff;
}

/* ---------- Hero ---------- */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.st-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 61, 79, 0.82) 0%, rgba(10, 42, 56, 0.88) 100%);
  z-index: 1;
}
.st-hero-content {
  position: relative;
  z-index: 2;
}
.st-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--st-teal-dark);
}
.st-btn-hero {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: var(--st-teal);
  padding: 0.95rem 1.9rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.03rem;
  text-decoration: none;
  transition: background 0.15s ease;
}
.st-btn-hero:hover {
  background: #dbf0f9;
  color: var(--st-teal);
}
/* ---------- Section headings ---------- */
.st-kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--st-teal-dark);
  margin-bottom: 0.75rem;
}
.st-kicker--light {
  color: #d6f1fb;
}

/* ---------- Service cards ---------- */
.st-card {
  background: var(--st-teal);
  border: 1px solid var(--st-teal);
  border-radius: var(--st-radius);
  color: #fff;
  height: 100%;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
/* box hover only for real pointers on desktop widths (no sticky hover on phones) */
@media (hover: hover) and (min-width: 768px) {
  .st-card:hover {
    background: #fff;
    border-color: var(--st-teal);
    color: var(--st-teal-dark);
  }
}
.st-card-icon {
  font-size: 2rem;
  line-height: 1;
}

/* ---------- About ---------- */
.st-reason {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.st-reason-dot {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--st-teal-light);
  margin-top: 3px;
}
.st-reason-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--st-charcoal);
  margin-bottom: 0.25rem;
}
.st-reason-body {
  font-size: 0.97rem;
  line-height: 1.6;
  color: var(--st-ink);
}
.st-about-media {
  border-radius: var(--st-radius-lg);
  overflow: hidden;
  border: 1px solid var(--st-border);
}
.st-about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Plans (Redovno održavanje) ---------- */
.st-plan-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  height: 100%;
  background: #fff;
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius);
  padding: 1.6rem;
  color: var(--st-charcoal);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
@media (hover: hover) and (min-width: 768px) {
  .st-plan-card:hover {
    background: var(--st-teal);
    border-color: var(--st-teal);
    color: #fff;
    box-shadow: var(--st-shadow);
  }
}
.st-plan-tag {
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: inherit;
}
.st-plan-title {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.4px;
  color: inherit;
}
.st-plan-body {
  font-size: 0.97rem;
  line-height: 1.6;
  color: inherit;
}
.st-plan-cta {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.94rem;
  border-bottom: 2px solid currentColor;
  padding-bottom: 3px;
  align-self: flex-start;
  color: inherit;
}

/* ---------- Kako radimo (process) ---------- */
.st-process-box {
  background: var(--st-charcoal);
  border-radius: var(--st-radius-lg);
  padding: clamp(32px, 4vw, 64px);
  color: #fff;
}
.st-step {
  padding-top: 22px;
  border-top: 2px solid #1d5468;
  height: 100%;
}
.st-step-num {
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -2px;
  color: var(--st-teal-light);
  line-height: 1;
  margin-bottom: 14px;
}
.st-step-title {
  font-weight: 700;
  font-size: 1.19rem;
  letter-spacing: -0.3px;
  margin: 0 0 8px;
  color: #fff;
}
.st-step-body {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.6;
  color: #c3dfea;
}

/* ---------- FAQ accordion ---------- */
.st-accordion .accordion-item {
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius) !important;
  overflow: hidden;
  margin-bottom: 14px;
}
@media (max-width: 767.98px) {
  .st-accordion .accordion-item {
    margin-bottom: 20px;
  }
}
.st-accordion .accordion-button {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--st-charcoal);
  background: #fff;
}
.st-accordion .accordion-button:not(.collapsed) {
  color: var(--st-teal-dark);
  background: var(--st-bg-soft);
  box-shadow: none;
}
.st-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: var(--st-border);
}
.st-accordion .accordion-button::after {
  filter: none;
}
.st-accordion .accordion-body {
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--st-ink);
  background: #fff;
}

/* ---------- Contact ---------- */
.st-contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: #e6f4fa;
  color: var(--st-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.st-contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #4d6f82;
}
.st-contact-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--st-charcoal);
  text-decoration: none;
  overflow-wrap: anywhere;
}
@media (max-width: 575.98px) {
  .st-contact-value {
    font-size: 0.95rem;
  }
}
.st-contact-value:hover {
  color: var(--st-teal-dark);
}

/* ---------- Footer ---------- */
.st-footer {
  background: var(--st-charcoal);
  color: #c3dfea;
}
.st-footer a {
  color: #fff;
  text-decoration: none;
}
.st-footer a:hover {
  color: var(--st-teal-light);
}
.st-footer-logo {
  height: 48px;
  width: auto;
}
.st-footer-bottom {
  border-top: 1px solid #1d5468;
  color: #8db4c4;
  font-size: 0.85rem;
}
