:root {
  --green: #0f4c45;
  --accent: #6fd9b0;
  --paper: #fff;
}
.blevion-wordmark {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.site-header {
  position: absolute;
  inset: 0 0 auto;
  padding-top: 20px;
  z-index: 50;
  height: 100px;
  min-height: 100px;
  background: transparent;
  isolation: isolate;
}
.site-header:before {
  display: none;
}
.dn-navigation {
  display: flex;
  align-items: center;
  width: calc(100% - 40px);
  max-width: 1200px;
  height: 68px;
  margin: 0 auto;
  padding: 0 30px;
  min-width: 0;
  border: 1px solid rgb(15 76 69/0.08);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 30px rgb(15 76 69/0.08);
  transition: background-color 250ms ease;
}
.dn-logo {
  display: flex;
  align-items: center;
  min-height: 44px;
  flex: 0 0 auto;
  margin-right: auto;
  padding-right: 28px;
  line-height: 1;
}
.dn-logo .blevion-wordmark {
  height: 28px;
  width: auto;
  max-width: none;
}
.dn-links {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
  white-space: nowrap;
}
.dn-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 7px 0;
  color: #0f4c45;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
}
.dn-links a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  background: #6fd9b0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms ease;
}
.dn-links a[aria-current="page"]:after {
  transform: scaleX(1);
}
.dn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 0 0 auto;
  min-height: 44px;
  margin-left: 28px;
  padding: 10px 22px;
  border-radius: 999px;
  background: #0f4c45;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 250ms ease;
}
.dn-arrow {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  transition: transform 250ms ease;
}
.mn-navigation {
  display: none;
}
@media (min-width: 901px) and (max-width: 1199px) {
  .dn-navigation {
    padding-inline: 24px;
  }
  .dn-logo {
    padding-right: 20px;
  }
  .dn-logo .blevion-wordmark {
    height: 26px;
  }
  .dn-links {
    gap: 20px;
  }
  .dn-links a {
    font-size: 15px;
  }
  .dn-cta {
    margin-left: 28px;
    padding-inline: 20px;
    font-size: 14px;
    gap: 10px;
  }
}
@media (min-width: 901px) and (max-width: 991px) {
  .dn-navigation {
    padding-inline: 20px;
  }
  .dn-logo {
    padding-right: 16px;
  }
  .dn-logo .blevion-wordmark {
    height: 24px;
  }
  .dn-links {
    gap: 18px;
  }
  .dn-links a {
    font-size: 14px;
  }
  .dn-cta {
    margin-left: 20px;
    padding-inline: 16px;
    font-size: 14px;
    gap: 8px;
  }
}
@media (max-width: 900px) {
  .site-header {
    position: absolute;
    inset: 0 0 auto;
    padding-top: 0;
    height: 78px;
    min-height: 78px;
    background: transparent;
    box-shadow: none;
  }
  .site-header:before {
    display: none;
  }
  .dn-navigation {
    display: none;
  }
  .mn-navigation {
    display: block;
  }
  .mn-shell {
    position: relative;
    top: 12px;
    width: calc(100% - 32px);
    margin-inline: auto;
    min-width: 0;
    border: 1px solid rgb(15 76 69/0.08);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 30px rgb(15 76 69/0.08);
    overflow: hidden;
    z-index: 60;
    color: #0f4c45;
  }
  .mn-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 62px;
    padding: 0 19px;
  }
  .mn-logo {
    display: flex;
    align-items: center;
    min-height: 44px;
    flex: 0 1 auto;
    min-width: 0;
  }
  .mn-logo .blevion-wordmark {
    height: 24px;
    width: auto;
    max-width: 100%;
  }
  .mn-toggle {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: #0f4c45;
    color: #fff;
    cursor: pointer;
  }
  .mn-burger {
    position: relative;
    display: block;
    width: 22px;
    height: 18px;
  }
  .mn-burger i {
    position: absolute;
    left: 0;
    width: 22px;
    height: 1.6px;
    background: #fff;
    border-radius: 2px;
    transform-origin: center;
    transition:
      transform 200ms ease,
      opacity 150ms ease;
  }
  .mn-burger i:nth-child(1) {
    top: 0;
  }
  .mn-burger i:nth-child(2) {
    top: 8px;
  }
  .mn-burger i:nth-child(3) {
    top: 16px;
  }
  .mn-open .mn-burger i:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .mn-open .mn-burger i:nth-child(2) {
    opacity: 0;
  }
  .mn-open .mn-burger i:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .mn-panel {
    overflow: hidden;
  }
  .mn-panel[hidden] {
    display: none;
  }
  .mn-menu {
    padding: 18px 20px 20px;
    max-height: calc(100vh - 88px);
    max-height: calc(100dvh - 88px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .mn-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
  }
  .mn-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 4px 0;
    color: #0f4c45;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
  }
  .mn-links a[aria-current="page"] {
    text-decoration: underline;
    text-decoration-color: #6fd9b0;
    text-underline-offset: 7px;
  }
  .mn-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    min-height: 52px;
    margin-top: 28px;
    padding: 13px 20px;
    border-radius: 14px;
    background: #0f4c45;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
  }
  .mn-cta svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
  }
}
@media (max-width: 479px) {
  .site-header {
    height: 76px;
    min-height: 76px;
  }
}
#final-step {
  padding: 80px 0;
  background: #fff;
}
#final-step .fc-container {
  max-width: 1200px;
}
#final-step .fc-block {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  align-items: center;
  gap: 40px;
  overflow: hidden;
  border-radius: 28px;
  background: #eaf7f1;
  padding: 56px 64px;
}
#final-step .fc-arc {
  position: absolute;
  right: -98px;
  top: -172px;
  width: 320px;
  height: 320px;
  pointer-events: none;
  z-index: -1;
}
#final-step .fc-arc path {
  stroke: #0f4c45;
  stroke-width: 1.5;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  vector-effect: non-scaling-stroke;
}
#final-step .fc-copy {
  min-width: 0;
}
#final-step .fc-kicker {
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.15em;
  color: #247963;
  line-height: 1.5;
  margin: 0 0 24px;
}
#final-step h2 {
  font-size: clamp(32px, 3.5vw, 46px);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.035em;
  color: #0f4c45;
  margin: 0 0 22px;
}
#final-step .fc-subtitle {
  font-size: 19px;
  line-height: 1.65;
  color: #4d6b60;
  margin: 0;
}
#final-step .fc-action {
  position: relative;
  min-width: 0;
  text-align: center;
}
#final-step .fc-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  min-height: 62px;
  padding: 17px 24px;
  border: 0;
  border-radius: 999px;
  background: #0f4c45;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 750;
}
#final-step .fc-arrow {
  display: inline-block;
  font-size: 27px;
  line-height: 1;
  transition: transform 350ms ease;
}
#final-step .fc-assurance {
  font-size: 14px;
  color: #315e4e;
  line-height: 1.5;
  margin: 15px 0 0;
}
#final-step .fc-contact {
  font-size: 14px;
  line-height: 1.8;
  color: #4d6b60;
  margin: 10px 0 0;
}
#final-step .fc-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
  text-underline-offset: 3px;
}
@media (max-width: 991px) {
  #final-step .fc-block {
    padding: 48px 36px;
    gap: 30px;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 280px);
  }
  #final-step h2 {
    font-size: 36px;
  }
  #final-step .fc-subtitle {
    font-size: 17px;
  }
}
@media (max-width: 767px) {
  #final-step .fc-block {
    grid-template-columns: minmax(0, 1fr);
    padding: 42px 26px;
    gap: 30px;
    text-align: left;
  }
  #final-step .fc-action {
    text-align: left;
  }
  #final-step .fc-button {
    font-size: 17px;
  }
  #final-step h2 {
    font-size: clamp(30px, 7vw, 40px);
  }
  #final-step .fc-kicker {
    font-size: 12px;
    margin-bottom: 20px;
  }
  #final-step .fc-arc {
    width: 210px;
    height: 210px;
    top: -120px;
    right: -70px;
  }
  #final-step .fc-assurance,
  #final-step .fc-contact {
    text-align: left;
  }
}
#kontakt.fm-footer {
  width: 100%;
  padding: 72px 0 32px;
  background: #0f4c45;
  color: #fff;
}
#kontakt .fm-container {
  max-width: 1200px;
}
#kontakt .fm-top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.75fr) minmax(0, 1fr);
  gap: 64px;
  padding-bottom: 48px;
}
#kontakt .fm-brand,
#kontakt .fm-column {
  min-width: 0;
}
#kontakt .fm-logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  text-decoration: none;
  line-height: 1.15;
}
#kontakt .fm-logo .blevion-wordmark {
  width: 230px;
  max-width: 100%;
}
#kontakt .fm-brand p {
  max-width: 380px;
  margin: 25px 0 0;
  font-size: 19px;
  line-height: 1.65;
  color: rgb(255 255 255/0.85);
}
#kontakt .fm-column h2 {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 750;
  color: #6fd9b0;
  margin: 0 0 21px;
  letter-spacing: 0;
}
#kontakt .fm-column ul {
  display: grid;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
#kontakt .fm-column li {
  font-size: 16px;
  line-height: 1.6;
  color: #fff;
}
#kontakt .fm-column a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  color: #fff;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 250ms ease;
}
#kontakt .fm-column li:last-child:not(:has(a)) {
  padding-top: 10px;
}
#kontakt .fm-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgb(111 217 176/0.4);
  padding-top: 26px;
  font-size: 14px;
  line-height: 1.7;
}
#kontakt .fm-bottom p {
  margin: 0;
  color: #fff;
}
#kontakt .fm-privacy-pending {
  font-size: 14px;
  line-height: 1.7;
  color: #fff;
}
#kontakt .fm-privacy-pending > span {
  color: #d9f5ea;
}
@media (max-width: 991px) {
  #kontakt .fm-top {
    gap: 32px;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1fr);
  }
  #kontakt .fm-brand p {
    font-size: 17px;
  }
}
@media (max-width: 767px) {
  #kontakt .fm-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-bottom: 32px;
  }
  #kontakt .fm-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  #kontakt .fm-brand p {
    max-width: 360px;
  }
  #kontakt .fm-column h2 {
    margin-bottom: 16px;
  }
}
/* Ispravci potvrđenih dimenzija ciljeva i kontrasta, bez promjene rasporeda. */
body :is(a, button, input, select, textarea):focus-visible {
  outline: 2px solid #0f4c45 !important;
  outline-offset: 3px;
}
#kontakt :is(a, button):focus-visible,
.sys-sidebar .sys-tab:focus-visible,
.pk-growth a:focus-visible,
.pp-growth a:focus-visible {
  outline-color: #6fd9b0 !important;
}
.conversation-goal-input:focus-visible + .conversation-goal-content,
.ct-choice > input:focus-visible + .ct-choice-content {
  outline: 2px solid #0f4c45 !important;
  outline-offset: 3px;
}
.conversation-consent label,
.ct-consent {
  min-height: 44px;
}
.conversation-package-clear {
  min-width: 44px !important;
  min-height: 44px !important;
}
.conversation-form-contacts a,
.ct-direct a,
.ct-contact-support a,
.conversation-reset,
.ct-result button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.ps-link,
.kw-link,
.pw-link,
.kr-text-link,
.fq-contact a {
  min-height: 44px;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
}
.sys-tab {
  min-height: 44px !important;
}
.sys-patient-step {
  min-width: 44px;
  min-height: 44px;
}
.sys-patient-line {
  gap: 2px;
}
.sys-date {
  min-height: 44px;
  padding-top: 0;
  padding-bottom: 0;
}
.sys-date select {
  min-height: 44px;
}
.sys-switch {
  position: relative;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 6px;
  background: transparent !important;
}
.sys-switch:before {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: 10.5px;
  height: 23px;
  border-radius: 999px;
  background: #00624f;
}
.sys-switch[aria-checked="false"]:before {
  background: #9db7a8;
}
.sys-switch > span {
  position: relative;
  z-index: 1;
}
@media (max-width: 767px) {
  .sys-patient-line {
    gap: 1px;
  }
  .sys-connector {
    min-width: 4px;
  }
}
@media (hover: hover) and (pointer: fine) {
  .dn-links a:hover:after {
    transform: scaleX(1);
  }
  .dn-cta:hover {
    background: #093e37;
  }
  .dn-cta:hover .dn-arrow {
    transform: translateX(3px);
  }
  #final-step .fc-button:hover .fc-arrow {
    transform: translateX(6px);
  }
  #final-step .fc-contact a:hover {
    text-decoration: underline;
  }
  #kontakt .fm-column a:hover {
    color: #6fd9b0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .dn-navigation,
  .dn-links a:after,
  .dn-cta,
  .dn-arrow,
  .mn-burger i,
  #final-step .fc-arrow,
  #kontakt .fm-column a {
    transition: none;
  }
  .dn-cta:hover .dn-arrow,
  #final-step .fc-button:hover .fc-arrow {
    transform: none;
  }
}

/* Reserve navigation space inside the first section so its background reaches page top.
   Home and how-it-works heroes already include this space in their own padding. */
body > main:not(.error-main) > :first-child:not(.hero):not(.kr-intro),
body > main.error-main {
  border-top: 100px solid transparent;
  background-clip: border-box;
}
@media (max-width: 900px) {
  body > main:not(.error-main) > :first-child:not(.hero):not(.kr-intro),
  body > main.error-main { border-top-width: 78px; }
}
@media (max-width: 479px) {
  body > main:not(.error-main) > :first-child:not(.hero):not(.kr-intro),
  body > main.error-main { border-top-width: 76px; }
}
