/* IT-Finecode shared layout. */
a.logo img[src*="it-finecode-"] { width: 240px; max-width: 100%; height: auto; max-height: 80px; object-fit: contain; }
.page_footer img[src*="it-finecode-"] { width: 340px; max-width: 85%; height: auto; object-fit: contain; }
#switcher { display: none !important; }
.toggle_menu:before, .toggle_menu span { content: "Menü"; }
@media (max-width: 1199px) { a.logo img[src*="it-finecode-"] { width: 220px; } }
@media (max-width: 575px) { a.logo img[src*="it-finecode-"] { width: 210px; } }
@media (max-width: 575px) {
  .page_slider .slide1 .intro_featured_word { font-size: 40px; }
  .page_slider .slide1 .intro_after_featured_word { font-size: 12px; letter-spacing: 6px; }
}

/* The first page render is never covered by a loading overlay. */
.preloader, .preloader_image { display: none !important; }

/* Keep the complete absolute header above hero and animated page content.
   Its existing positioned parent forms the shared context, below modal layers. */
.header_absolute { z-index: 1000; }

/* The home hero starts after the opaque header in normal document flow. */
.home_header { position: relative; z-index: 1000; background: #1f2732; }
.home_header .page_header { background-color: #1f2732; opacity: 1; }
/* Use the actual open state, including on devices with sticky touch hover. */
.toggle_menu[aria-expanded="false"]:before { top: 24%; }
.toggle_menu[aria-expanded="false"] span:before { top: 0; transform: rotate(0deg); }
.toggle_menu[aria-expanded="false"] span:after { top: 28px; transform: rotate(0deg); }
.toggle_menu[aria-expanded="true"]:before { top: 32px; }
.toggle_menu[aria-expanded="true"] span:before { top: 13px; transform: rotate(45deg); }
.toggle_menu[aria-expanded="true"] span:after { top: 13px; transform: rotate(-45deg); }
.toggle_menu[role="button"]:focus-visible { outline: 2px solid #ff497c; outline-offset: -5px; }
/* Local click-to-call header contact. */
.header_phone { margin-left: 0; }
.header_phone .header-phone-heading { font-size: clamp(16px, 1.4vw, 24px); line-height: 30px; margin: 0; }
.header-phone-link { display: inline-flex !important; align-items: center; gap: 8px; white-space: nowrap; color: #fff !important; text-decoration: none; }
.header-phone-link .fa-phone, .page_header_side .fa-phone, .page_topline .fa-phone { color: #ff497c; }
.header-phone-link .header-phone-number { color: #fff; }
.header-phone-link:hover .header-phone-number { text-decoration: underline; }

/* Each service is one complete link, with a clearly visible reading action. */
#services { scroll-margin-top: 100px; }
@media (max-width: 1199px) { #services { scroll-margin-top: 76px; } }
#services .row > .col-12 { display: flex; }
#services .service-card { display: flex; flex-direction: column; width: 100%; color: inherit; text-decoration: none; }
#services .service-card .item-content { display: flex; flex-direction: column; flex: 1; }
#services .service-card p { flex: 1; line-height: 1.65; }
@media (min-width: 992px) {
  #services .row > .col-12 { margin-bottom: 44px; }
  #services .service-card .item-content { padding-top: 18px; }
}
#services .service-card h6 { color: #1f2732; }
#services .service-card__more { display: inline-flex; align-self: center; align-items: center; gap: 7px; color: #ff497c; font-size: 14px; font-weight: 600; }
#services .service-card:hover h6 { color: #ff497c; }
#services .service-card:hover .service-card__more { text-decoration: underline; }
#services .service-card:focus-visible { outline: 2px solid #ff497c; outline-offset: 8px; border-radius: 8px; }
#services .services-process-link { padding: 32px 0 84px; }
.references-jump { padding: 0 15px 35px; }
.references-jump > img { display: block; width: 3px; height: 140px; margin: 0 auto 28px; }

/* Readable navigation, with room for all five labels beside logo and phone. */
@media (min-width: 1200px) {
  .page_header .top-nav .sf-menu[data-primary-navigation] > li > a {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .65px;
    margin-inline: 6px;
    padding-inline: 4px;
  }
  .page_header .top-nav .sf-menu[data-primary-navigation] > li > a::after { right: -14px; }
  .page_header .top-nav .sf-menu[data-primary-navigation] ul a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .5px;
  }
}
@media (min-width: 1400px) {
  .page_header .top-nav .sf-menu[data-primary-navigation] > li > a { font-size: 14px; }
}
@media (max-width: 1199px) {
  .page_header .top-nav .sf-menu[data-primary-navigation] > li > a {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .45px;
    line-height: 1.5;
    min-height: 48px;
    padding-block: 14px;
  }
  .page_header .top-nav .sf-menu[data-primary-navigation] ul a {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .4px;
    line-height: 1.5;
    min-height: 44px;
    padding-block: 12px;
  }
}
