﻿/* ============================================================
   MOBILE — web-razvoj.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; }

  /* Desktop uses calc(100% - 80px) = 40px each side.
     Reset ALL inner wrappers to 20px gutter. */
  .web-statement__inner,
  .web-process__head,
  .web-process__steps,
  .web-includes__inner,
  .web-pricing__inner {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }


  /* ══════════════════════════════════════════
     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: 120px 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; }


  /* ══════════════════════════════════════════
     TASK 1 — HERO FONTS: match index mobile
     ══════════════════════════════════════════ */

  .hero--web {
    height: auto;
    min-height: auto;
  }

  .hero--web .hero__content {
    position: relative;
    top: auto; left: auto; transform: none;
    width: 100%;
    padding: 140px 20px 120px;
    box-sizing: border-box;
    display: block;
    text-align: left;
  }

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

  .hero__heading-line { display: inline; text-align: left; }
  .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--web .hero__sub {
    text-align: left;
    max-width: 100%;
    margin-left: 0; margin-right: 0;
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.65;
  }

  /* Hero eyebrow — index mobile token */
  .bh1 { font-size: 9px; letter-spacing: 0.08em; text-align: left; }
  .hero--web .bh1 { font-size: 9px; letter-spacing: 0.08em; }

  /* Port-filters — natural wrap, 20% smaller */
  .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: calc(var(--fs-nav) * 0.96 * 1.15 * 0.8);
    padding: 7.4px 18.4px;
  }


  /* ══════════════════════════════════════════
     TASK 2 — STATEMENT: remake for mobile
     ══════════════════════════════════════════ */

  .section-web-statement {
    padding: 60px 20px 20px;
    box-sizing: border-box;
  }

  .web-statement__inner {
    padding: 0;
    box-sizing: border-box;
  }

  /* Override desktop grid → vertical stack */
  .web-statement__body {
    display: flex;
    flex-direction: column;
    gap: 36px;
  }

  .web-statement__left {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .web-statement__claim {
    font-size: var(--fs-h2-mont);
    line-height: 1.25;
    text-align: left;
  }

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

  .web-statement__dutch {
    font-size: var(--fs-h2-dutch);
    line-height: 1.05;
  }

  .web-statement__desc {
    font-size: 15px;
    line-height: 1.65;
    text-align: left;
    margin-top: 0;
    padding-top: 20px;
  }

  .web-statement__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    background: transparent;
    border: none;
    width: 100%;
  }

  .web-statement__stat {
    padding: 20px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    background: #0a0a0a;
  }

  .web-statement__stat-num  { font-size: 32px; text-align: left; }
  .web-statement__stat-label { font-size: 12px; text-align: left; }


  /* ══════════════════════════════════════════
     TASK 3 — DIVIDERS: none found in HTML
     (no <hr>, .divider, .web-divider, .section-sep present)
     Defensive hide in case they appear:
     ══════════════════════════════════════════ */

  .web-divider, hr, .divider, .section-sep, .section-divider { display: none; }

  /* Remove CSS-generated dividers */
  .web-statement__desc    { border-top: none; }
  .web-process__step      { border-top: none; border-bottom: none; }
  .section-web-statement,
  .section-web-process,
  .section-web-includes,
  .section-web-subscription,
  .section-web-pricing    { border-top: none; border-bottom: none; }

  .section-web-statement,
  .section-web-process,
  .section-web-includes,
  .section-web-subscription {
    position: relative;
    background: #0a0a0a;
  }

  .section-web-statement {
    z-index: 4;
    margin-top: -2px;
    box-shadow: 0 -1px 0 #0a0a0a;
  }

  .section-web-process,
  .section-web-includes,
  .section-web-subscription {
    margin-top: -2px;
    box-shadow: 0 -1px 0 #0a0a0a;
  }

  .web-curtain-wrap {
    background: #0a0a0a;
  }


  /* ══════════════════════════════════════════
     TASK 4 — PROCESS NUMS: uniform dot style
     Desktop first-child has filled white dot;
     apply to ALL .web-process__num::before
     ══════════════════════════════════════════ */

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

  .web-process__head {
    padding-bottom: 14px;
    margin-bottom: 32px;
  }

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

  .web-process__sub {
    font-size: 15px;
    line-height: 1.65;
    text-align: left;
  }

  .web-process__steps {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .web-process__steps::before,
  .web-process__steps::after {
    display: none !important;
    content: none !important;
    height: 0 !important;
    width: 0 !important;
    visibility: hidden !important;
  }

  .web-process__step {
    padding: 24px 0;
  }

  /* All number dots: uniform white filled — same as desktop :first-child */
  .web-process__num {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 16px;
  }

  .web-process__num::before {
    background: transparent;
    border-color: rgba(255,255,255,0.45);
  }

  /* Remove :first-child override so all dots look identical */
  .web-process__step:first-child .web-process__num::before {
    background: #ffffff;
    border-color: #ffffff;
  }

  .web-process__title { font-size: 18px; margin: 0 0 8px; text-align: left; }
  .web-process__desc  {
    font-size: 15px;
    line-height: 1.65;
    text-align: left;
  }


  /* ══════════════════════════════════════════
     TASK 5 — PAGE PADDINGS (already on .container)
     Section-level inner wrappers standardized here
     ══════════════════════════════════════════ */

  /* .web-includes__inner and .web-pricing__inner gutter
     already handled by the global reset block above. */


  /* ══════════════════════════════════════════
     TASK 6 — LEFT-ALIGN: all section headings/subs
     ══════════════════════════════════════════ */

  .section-web-statement h2, .section-web-statement h3,
  .section-web-process h2,   .section-web-process h3,
  .section-web-includes h2,  .section-web-includes h3,
  .section-web-subscription h2, .section-web-subscription h3,
  .section-web-pricing h2,   .section-web-pricing h3 {
    text-align: left;
    margin-bottom: 20px;
  }

  .section-web-statement p,
  .section-web-process p,
  .section-web-includes p,
  .section-web-subscription p,
  .section-web-pricing p {
    text-align: left;
  }

  .web-includes__h2-mont, .web-includes__h2-dutch,
  .web-process__h2-mont,  .web-process__h2-dutch,
  .web-statement__mont,   .web-statement__dutch {
    text-align: left;
  }


  /* ══════════════════════════════════════════
     TASK 7 — INCLUDES GRID: all boxes separate
     ══════════════════════════════════════════ */

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

  .web-includes__head {
    margin-bottom: 36px;
    text-align: left;
  }

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

  .web-includes__sub {
    font-size: 15px;
    line-height: 1.65;
    text-align: left;
  }

  /* Grid → single column, separated cards */
  .web-includes__grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    box-sizing: border-box;
    margin-top: 36px;
    background: transparent;
    border: none;
  }

  .web-include {
    width: 100%;
    padding: 24px 0;
    border-radius: 12px;
    box-sizing: border-box;
  }

  .web-include__icon  { font-size: 12px; }
  .web-include__title { font-size: 18px; margin: 2px 0 8px; text-align: left; }
  .web-include__text  {
    font-size: 15px;
    line-height: 1.65;
    text-align: left;
  }


  /* ══════════════════════════════════════════
     CURTAIN WRAP — disable sticky
     ══════════════════════════════════════════ */

  .web-curtain-wrap { position: static !important; }


  /* ══════════════════════════════════════════
     TASK 8 — SUBSCRIPTION: fix half-visible issue
     Desktop: sticky + grid 2fr 1fr = clips on mobile
     ══════════════════════════════════════════ */

  .section-web-subscription {
    position: static !important;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
    padding: 60px 0 72px;
  }

  /* Override desktop grid → vertical stack */
  .web-sub--d {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    box-sizing: border-box;
    border-radius: 14px;
    width: 100%;
    margin: 0;
    overflow: hidden;
    background: #f5f5f5;
    border: 1px solid rgba(255,255,255,0.08);
  }

  .web-sub--d__left,
  .web-sub--d__right {
    width: 100%;
    position: static !important;
    background: transparent;
    padding: 0;
  }

  .web-sub--d__left {
    padding: 28px 22px 24px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }

  .web-sub--d__right {
    padding: 8px 22px 22px;
  }

  .web-sub--d h3 {
    font-size: var(--fs-h2-mont);
    line-height: 1.12;
    text-align: left;
    color: #111111;
    margin: 0;
  }

  .web-sub--d__sub {
    font-size: 15px;
    line-height: 1.65;
    text-align: left;
    color: #555555;
    max-width: 100%;
    margin-top: 16px;
  }

  .web-sub--d__label {
    display: inline-flex;
    width: max-content;
    margin-bottom: 18px;
    padding: 7px 10px;
    border-radius: 999px;
    background: #111111;
    color: #ffffff;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-align: left;
  }

  .web-sub--d__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.08);
    text-align: left;
  }

  .web-sub--d__price-from,
  .web-sub--d__price-per {
    color: #777777;
  }

  .web-sub--d__price-num {
    color: #111111;
    font-size: 42px;
  }

  .web-sub--d__features {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0 0 22px;
  }

  .web-sub--d__feature {
    align-items: flex-start;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }

  .web-sub--d__feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-top: 1px;
    border-radius: 50%;
    background: #111111;
    color: #ffffff;
    font-size: 12px;
  }

  .web-sub--d__feature strong {
    color: #111111;
    font-size: 15px;
  }

  .web-sub--d__feature p {
    color: #666666;
    font-size: 13px;
    line-height: 1.55;
  }

  .web-sub--d__cta {
    width: 100%;
    justify-content: center;
    margin-top: 0;
    padding: 15px 24px;
    font-size: 14px;
    text-align: center;
    box-sizing: border-box;
    border-radius: 8px;
  }


  /* ══════════════════════════════════════════
     TASK 9 — PRICING: left-align + full-width buttons
     Matching brending mobile button sizes
     ══════════════════════════════════════════ */

  .section-web-pricing {
    position: static !important;
    padding: 0 0 60px;
  }

  .web-curtain-wrap + .section-faq {
    margin-top: -2px;
    padding-top: 10px;
    box-shadow: 0 -1px 0 #f5f5f5;
  }

  .web-pricing__inner {
    padding-top: 40px;
    padding-bottom: 40px;
    text-align: left;
  }

  .web-pricing__text h2 {
    font-size: var(--fs-h2-mont);
    line-height: 1.15;
    text-align: left;
  }

  .web-pricing__text h2 em {
    font-size: var(--fs-h2-dutch);
    line-height: 1.05;
  }

  .web-pricing__text p {
    font-size: 15px;
    line-height: 1.65;
    text-align: left;
    margin: 0;
  }

  .web-pricing__btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
  }

  /* Button sizes from mobile-brending.css pricing pattern */
  .web-btn-outline,
  .web-btn-solid {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 15px 24px;
    font-size: 14px;
    box-sizing: border-box;
  }


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

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

  .faq__heading {
    text-align: left;
  }

  .section-faq.anim-visible .faq__item:nth-child(6) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
  }

}
/* 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;
}

