﻿/* ============================================================
   MOBILE — socijalne-mreze.html responsive styles
   Breakpoint: ≤ 768px
   Loaded last so it overrides all other stylesheets.
   ============================================================ */

@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;
  }

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

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


  /* ══════════════════════════════════════════
     NAV
     ══════════════════════════════════════════ */

  .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__links, .nav__cta { display: none; }
  .nav__brand { display: none; }

  /* Dark hero — burger bars white */
  .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: #ffffff;
    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 — soc (dark bg)
     ══════════════════════════════════════════ */

  .hero--soc {
    height: auto;
    min-height: 100svh;
  }

  .hero--soc .hero__content {
    position: relative;
    top: auto; left: auto; transform: none;
    width: 100%;
    padding: 200px 20px 80px;
    box-sizing: border-box;
    display: block;
  }

  .hero--soc .hero__heading {
    margin-top: 20px;
    display: block;
    text-align: left;
    max-width: 100%;
    margin-left: 0; margin-right: 0;
  }

  .hero__heading-line { display: inline; }
  .hero__heading-line .h1-mont  { font-size: 28px; line-height: 1.15; }
  .hero__heading-line .h1-dutch { font-size: 31px; line-height: 1.15; }

  .hero--soc .hero__sub {
    text-align: left; max-width: 100%;
    margin-left: 0; margin-right: 0;
    margin-top: 20px; font-size: 15px; line-height: 1.65;
  }

  .port-filters { margin-top: 28px; flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 8px; }
  .port-filters__row { display: contents; }
  .port-filter {
    font-size: 12px;
    padding: 8px 14px;
    line-height: 1.2;
    white-space: normal;
  }


  /* Hero eyebrow standardization */
  .hero--soc .bh1 { font-size: 9px; letter-spacing: 0.08em; }


  /* ══════════════════════════════════════════
     PROOF — 2-col → 1-col
     ══════════════════════════════════════════ */

  .section-soc-proof {
    background: #0a0a0a;
    margin-top: -1px;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .soc-proof__inner {
    width: auto;
    max-width: none;
    flex-direction: column;
    display: flex;
    gap: 36px;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .soc-proof__text { width: 100%; }
  .soc-proof__claim {
    font-size: var(--fs-h2-mont);
    line-height: 1.15;
  }
  .soc-proof__claim em {
    font-size: var(--fs-h2-dutch);
    line-height: 1.05;
  }
  .soc-proof__desc {
    font-size: 15px;
    line-height: 1.65;
    margin-top: 20px;
    padding-top: 20px;
    max-width: none;
  }

  .soc-proof__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    width: 100%;
  }

  .soc-proof__stat {
    min-width: 0;
    padding: 20px 16px 22px;
  }

  .soc-proof__stat-num   { font-size: 28px; letter-spacing: -0.05em; }
  .soc-proof__stat-label { font-size: 12px; }


  /* ══════════════════════════════════════════
     GROWTH — 4-card grid → 1-col
     ══════════════════════════════════════════ */

  .section-soc-growth {
    background: #0a0a0a;
    margin-top: -1px;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .soc-growth__inner {
    width: auto;
    max-width: none;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .soc-growth__head { margin-bottom: 36px; }
  .soc-growth__head h2 {
    text-align: left;
    margin-bottom: 20px;
  }
  .soc-growth__head p {
    font-size: 15px;
    line-height: 1.65;
    text-align: left;
  }

  .soc-growth__grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
  }

  .soc-growth__card {
    padding: 22px 20px 24px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    gap: 24px;
  }
  .soc-growth__card-title {
    font-size: 18px;
  }
  .soc-growth__card-text {
    font-size: 15px;
    line-height: 1.65;
  }
  .soc-growth__metrics { flex-direction: column; gap: 12px; }
  .soc-growth__metric { flex-wrap: wrap; }
  .soc-growth__metric-before { font-size: 15px; min-width: 44px; }
  .soc-growth__metric-arrow { font-size: 12px; }
  .soc-growth__metric-after { font-size: 20px; }
  .soc-growth__metric-name { font-size: 11px; }
  .soc-growth__badge { font-size: 11px; padding: 5px 12px; }


  /* ══════════════════════════════════════════
     PROCESS — auto-scroll strip → static list
     ══════════════════════════════════════════ */

  .section-soc-process {
    background: #0a0a0a;
    margin-top: -1px;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .soc-process__head {
    padding: 0 20px 36px;
    box-sizing: border-box;
  }
  .soc-process__head h2 {
    text-align: left;
    margin-bottom: 20px;
  }
  .soc-process__head p {
    font-size: 15px;
    line-height: 1.65;
    text-align: left;
  }

  .soc-process__track {
    overflow: hidden;
    cursor: default;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .soc-process__inner {
    animation: none !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100% !important;
  }

  /* Show only first 6 cards (hide duplicate set) */
  .soc-process__card:nth-child(n+7) { display: none; }

  .soc-process__card {
    min-width: 100% !important;
    width: 100% !important;
    padding: 24px 20px;
    box-sizing: border-box;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
  }

  .soc-process__num   { font-size: 12px; }
  .soc-process__title { font-size: 18px; margin: 8px 0; }
  .soc-process__text  {
    font-size: 15px;
    line-height: 1.65;
  }


  /* ══════════════════════════════════════════
     RETAINER TIERS — 3-col → 1-col
     ══════════════════════════════════════════ */

  .section-soc-retainer {
    background: #0a0a0a;
    margin-top: -1px;
    padding-top: 60px;
    padding-bottom: 60px;
    overflow: hidden;
  }

  .soc-retainer__inner {
    width: auto;
    max-width: none;
    padding: 0 20px;
    box-sizing: border-box;
    position: relative;
  }

  .soc-retainer__head { margin-bottom: 36px; }
  .soc-retainer__head h2 {
    text-align: left;
    margin-bottom: 20px;
  }
  .soc-retainer__head p {
    font-size: 15px;
    line-height: 1.65;
    text-align: left;
  }

  .soc-retainer__grid {
    display: flex;
    flex-direction: row;
    gap: 14px;
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow-x: auto;
    overflow-y: visible;
    margin-left: -20px;
    margin-right: -20px;
    padding: 18px max(20px, calc((100vw - 292px) / 2)) 28px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: max(20px, calc((100vw - 292px) / 2));
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .soc-retainer__grid::-webkit-scrollbar {
    display: none;
  }

  .soc-retainer__inner::before,
  .soc-retainer__inner::after {
    content: none;
  }

  .soc-tier {
    flex: 0 0 min(292px, calc(100vw - 56px));
    width: min(292px, calc(100vw - 56px));
    min-height: 560px;
    padding: 22px 20px 20px;
    box-sizing: border-box;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.1);
    background: #111111;
    box-shadow: none;
    overflow: visible;
    position: relative;
    scroll-snap-align: center;
    opacity: 1;
    transform: scale(1);
  }

  .section-soc-retainer.will-animate .soc-tier,
  .section-soc-retainer.anim-visible .soc-tier {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .soc-tier:first-child,
  .soc-tier:last-child {
    margin-top: 0;
  }

  .soc-tier__name {
    font-size: 19px;
    line-height: 1.15;
    margin-bottom: 14px;
  }

  .soc-tier__label {
    margin-bottom: 10px;
    font-size: 10px;
  }

  .soc-tier__popular {
    position: absolute;
    top: 0 !important;
    left: 8px !important;
    right: auto !important;
    inset-inline-start: 8px !important;
    inset-inline-end: auto !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: fit-content;
    font-size: 10px;
    padding: 5px 12px;
    border-radius: 999px;
    box-shadow: none;
    z-index: 2;
  }

  .soc-tier__price {
    align-items: flex-end;
    gap: 6px;
    margin-bottom: 18px;
    padding-bottom: 18px;
  }

  .soc-tier__price-num {
    font-size: 34px;
    letter-spacing: -0.05em;
  }

  .soc-tier__price-per {
    font-size: 12px;
    padding-bottom: 3px;
  }

  .soc-tier__features {
    gap: 0;
    margin-bottom: 20px;
    flex: 1;
    border-top: 0;
  }

  .soc-tier__features li {
    font-size: 14px;
    line-height: 1.45;
    padding: 11px 0 11px 18px;
    border-bottom: 0;
  }

  .soc-tier__cta {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: auto;
    padding: 15px 24px;
    font-size: 14px;
    text-align: center;
    border-radius: 10px;
  }


  /* ══════════════════════════════════════════
     CTA
     ══════════════════════════════════════════ */

  .section-faq {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .faq__heading {
    margin-bottom: 20px;
    text-align: left;
  }

  .faq__question {
    gap: 16px;
    padding: 20px 0;
  }

  .faq__question-text {
    font-size: 14px;
    line-height: 1.35;
  }

  .faq__answer-inner {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.65;
  }

  .section-soc-close {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .soc-close__inner {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .soc-close__heading {
    font-size: var(--fs-h2-mont);
    line-height: 1.15;
  }

  .soc-close__heading em {
    font-size: var(--fs-h2-dutch);
  }

  .soc-close__btns {
    width: 100%;
  }

  .soc-btn-outline,
  .soc-btn-solid {
    width: 100%;
    padding: 15px 24px;
    font-size: 14px;
  }

  .section-cta {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .cta__heading {
    text-align: left;
    margin-bottom: 20px;
  }
  .cta__heading-line { display: inline; }
  .cta__dimmed { display: inline; }

  .cta__sub {
    font-size: 15px;
    line-height: 1.65;
    text-align: left;
    margin-bottom: 32px;
  }

  .cta__btn {
    width: 100%;
    justify-content: center;
    padding: 15px 24px;
    font-size: 14px;
    text-align: center;
  }

}

@media (max-width: 420px) {
  .soc-proof__stats {
    grid-template-columns: 1fr;
  }
}
/* 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;
}

