﻿/* ============================================================
   MOBILE - usluge.html
   Tokens/gutter/footer: inherited from index mobile.css.
   Navigation behavior mirrors cijene.html mobile query.
   ============================================================ */

@media (max-width: 768px) {
  body { overflow-x: hidden; }

  :root {
    --fs-h1-mont: 36px;
    --fs-h1-dutch: 40px;
    --fs-h2-mont: 27.5px;
    --fs-h2-dutch: 30.8px;
    --fs-p: 15px;
    --gutter: 20px;
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .h2-anchor { display: none; }

  .h1-mont, .h1-dutch,
  .h2-mont, .h2-dutch {
    word-break: break-word;
    overflow-wrap: break-word;
  }

  /* NAV - cijene mobile behavior */
  .site-header,
  .hero .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    padding-top: 25px;
    padding-bottom: 16px;
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.32s ease;
  }

  .site-header--hidden { transform: translateY(-100%); }

  .site-header--scrolled { background: #111111; }
  .site-header--scrolled .nav__brand,
  .site-header--scrolled .nav__link { color: #ffffff; }
  .site-header--scrolled .nav__burger span { background: #ffffff; }

  .nav {
    height: 70px;
    padding: 0 20px;
  }

  .nav__left { gap: 12px; }

  .nav__logo,
  .nav__logo img {
    width: 44px;
    height: 44px;
  }

  .nav-open .nav__logo img,
  .site-header--scrolled .nav__logo img {
    filter: brightness(0) invert(1);
  }

  .nav__links,
  .nav__cta { display: none; }
  .nav__brand { display: none; }

  .nav__burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px;
    flex-shrink: 0;
  }

  .nav__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #111111;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav-open .nav__burger span { background: #ffffff; }
  .nav-open .nav__burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav-open .nav__burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .nav__mobile {
    display: block;
    position: fixed;
    inset: 0;
    background: #111111;
    z-index: 999;
    overflow: hidden;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-open .nav__mobile { transform: translateX(0); }

  .nav__mob-panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 220px 20px 60px;
    transition: transform 0.36s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }

  .nav__mob-panel--main { transform: translateX(0); }
  .nav__mob-panel--pushed { transform: translateX(-100%) !important; }
  .nav__mob-panel--sub { transform: translateX(100%); }
  .nav__mob-panel--sub.nav__mob-panel--active { transform: translateX(0); }

  .nav__mob-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .nav__mob-link {
    font-family: var(--font-mont);
    font-size: 22px;
    font-weight: 400;
    letter-spacing: -0.04em;
    color: #ffffff;
    text-decoration: none;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    cursor: pointer;
    text-align: left;
  }

  .nav__mob-links > li:last-child .nav__mob-link { border-bottom: none; }
  .nav__mob-link svg { width: 8px; height: 14px; flex-shrink: 0; opacity: 0.45; }

  .nav__mob-back {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mont);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-bottom: 40px;
  }

  .nav__mob-back svg { width: 8px; height: 14px; }

  .nav__mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mont);
    font-size: 15px;
    font-weight: 600;
    color: #111111;
    background: #ffffff;
    border-radius: 8px;
    padding: 16px 32px;
    text-decoration: none;
    margin-top: 40px;
    letter-spacing: -0.02em;
    flex-shrink: 0;
  }

  .nav__mob-link--cta { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav__mob-link-inner { display: flex; flex-direction: column; gap: 10px; }
  .nav__mob-link-title { font-size: 22px; font-weight: 400; color: #ffffff; letter-spacing: -0.04em; }
  .nav__mob-link-sub { font-size: 14px; font-weight: 400; color: rgba(255,255,255,0.35); letter-spacing: 0; line-height: 1.4; }

  /* HERO */
  .hero--usluge-v2 {
    height: auto;
    min-height: auto;
  }

  .hero--usluge-v2 .hero__content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    z-index: auto;
    width: 100%;
    padding: 200px 20px 28px;
    box-sizing: border-box;
  }

  .hero--usluge-v2 .hero__heading {
    margin-top: 0;
    display: block;
    text-align: left;
    align-items: flex-start;
  }

  .hero--usluge-v2 .hero__heading-line {
    display: block;
  }

  .hero--usluge-v2 .hero__heading-desktop-only { display: none; }
  .hero--usluge-v2 .hero__heading-mobile-only { display: inline; }

  .hero--usluge-v2 .hero__heading-line .h1-mont { font-size: 28px; line-height: 1.15; }
  .hero--usluge-v2 .hero__heading-line .h1-dutch { font-size: 31px; line-height: 1.15; }

  .hero--usluge-v2 .hero__sub {
    margin-top: 20px;
    font-size: var(--fs-p);
    line-height: 1.65;
    text-align: left;
  }

  .hero--usluge-v2 .hero__sub br { display: none; }

  /* SERVICE ACCORDION */
  .section-usluge-v2 {
    margin-top: 0 !important;
    padding: 40px 0 56px;
  }

  .usluge-v2__trigger {
    align-items: flex-start;
    gap: 18px;
    padding: 26px 0;
  }

  .usluge-v2__trigger-left {
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
  }

  .usluge-v2__num {
    font-size: 11px;
    min-width: 22px;
    padding-top: 6px;
  }

  .usluge-v2__title {
    font-size: 23px;
    line-height: 1.12;
    letter-spacing: 0;
  }

  .usluge-v2__title em {
    font-size: 26px;
    letter-spacing: 0;
  }

  .usluge-v2__trigger-right {
    gap: 12px;
    flex-shrink: 0;
  }

  .usluge-v2__tags { display: none; }

  .usluge-v2__toggle {
    width: 24px;
    height: 24px;
    font-size: 24px;
  }

  .usluge-v2__item.is-open .usluge-v2__body {
    max-height: 900px;
  }

  .usluge-v2__content {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 0 32px 36px;
  }

  .usluge-v2__desc {
    font-size: var(--fs-p);
    line-height: 1.65;
  }

  .usluge-v2__features {
    gap: 12px;
  }

  .usluge-v2__feature {
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.45;
  }

  .usluge-v2__feature::before {
    margin-top: 8px;
  }

  .usluge-v2__feature-cta {
    font-size: 14px;
    letter-spacing: 0;
  }

  /* CTA */
  .section-cta {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .cta__heading {
    text-align: left;
    margin-bottom: 32px;
    line-height: 1.12;
  }

  .cta__heading-line {
    display: inline;
  }

  .cta__heading-line .h2-mont {
    font-size: var(--fs-h2-mont);
    line-height: 1.12;
    letter-spacing: 0;
  }

  .cta__heading-line .h2-dutch {
    font-size: var(--fs-h2-dutch);
    line-height: 1.12;
    letter-spacing: 0;
  }

  .cta__heading .cta__dimmed {
    display: block;
    margin-top: 8px;
  }

  .cta__stats {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 0 0 32px;
  }

  .cta__stat-box {
    width: 100%;
    border-radius: 8px;
    padding: 18px 16px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    gap: 16px;
  }

  .cta__stat-num {
    font-size: 36px;
    text-align: left;
  }

  .cta__stat-label {
    font-size: 13px;
    line-height: 1.45;
    letter-spacing: 0;
    text-align: left;
  }

  .cta__sub {
    font-size: var(--fs-p);
    line-height: 1.65;
    text-align: left;
  }

  .cta__btn-wrap {
    justify-content: stretch;
  }

  .cta__btn {
    width: 100%;
    justify-content: center;
    padding: 15px 24px;
    font-size: 14px;
  }
}
/* Solid divider between Kompanija and Kontaktiraj nas in main mobile nav */
#mob-main .nav__mob-links > li:nth-last-child(2) .nav__mob-link {
  border-bottom-color: #ffffff;
}

