﻿/* ============================================================
   MOBILE — google-ads.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,
  .ga-h1-mont, .ga-h1-dutch, .ga-h2-mont, .ga-h2-dutch {
    word-break: break-word;
    overflow-wrap: break-word;
  }

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

  /* Reset ga-wide wrappers to 20px gutter (sections without .container) */
  .ga-wide {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }


  /* ══════════════════════════════════════════
     NAV (from mobile-cijene.css)
     ══════════════════════════════════════════ */

  .site-header,
  .ga-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; }

  /* Burger — dark bars (light hero bg) */
  .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
     ══════════════════════════════════════════ */

  .ga-hero {
    min-height: 0;
    height: auto;
    padding-bottom: 60px;
  }

  .ga-hero__inner {
    padding-top: 130px;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  .ga-hero__grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: stretch;
  }

  .ga-hero__eyebrow {
    font-size: 9px;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
  }

  .ga-hero__h1 {
    margin: 0 0 20px;
    line-height: 1.1;
  }

  .ga-h1-line { line-height: 1.15; display: block; }

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

  .ga-hero__sub {
    font-size: 15px;
    line-height: 1.65;
    max-width: 100%;
    margin: 0 0 28px;
  }

  .ga-hero__buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .ga-btn {
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
    padding: 14px 20px;
  }

  .ga-btn--ghost { padding: 12px 4px; }

  /* SERP widget — scale paddings/text down for mobile */
  .ga-serp {
    padding: 18px 16px 14px;
    border-radius: 14px;
    box-shadow: 0 14px 40px -16px rgba(0,0,0,0.16), 0 2px 6px rgba(0,0,0,0.04);
  }

  .ga-serp__bar {
    gap: 10px;
    padding-bottom: 12px;
    margin-bottom: 12px;
  }

  .ga-serp__logo { font-size: 17px; }

  .ga-serp__search {
    padding: 7px 12px;
    font-size: 12px;
    gap: 8px;
  }

  .ga-serp__result {
    padding: 10px 12px;
    margin-bottom: 6px;
  }

  .ga-serp__result-title { font-size: 14px; }
  .ga-serp__result-desc  { font-size: 11.5px; line-height: 1.45; }
  .ga-serp__result-url   { font-size: 10.5px; }
  .ga-serp__result-price { font-size: 11.5px; }

  .ga-serp__cta-note {
    font-size: 10px;
    padding-top: 10px;
    margin-top: 4px;
  }


  /* ══════════════════════════════════════════
     SHARED SECTION HEAD
     ══════════════════════════════════════════ */

  .ga-section__head {
    text-align: left;
    margin-bottom: 32px;
  }

  .ga-h2 { line-height: 1.15; }

  .ga-h2-mont,
  .ga-h2-dutch { display: inline; }

  .ga-section__sub {
    text-align: left;
    max-width: 100%;
    margin: 16px 0 0;
    font-size: 15px;
    line-height: 1.65;
  }


  /* ══════════════════════════════════════════
     SECTION 2 — Tri trenutka
     ══════════════════════════════════════════ */

  .section-ga-moments {
    padding: 60px 0 70px;
  }

  .ga-moments__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ga-moment {
    padding: 28px 22px 32px;
    gap: 20px;
    border-radius: 12px;
  }

  .ga-moment__tag {
    margin-bottom: 14px;
    font-size: 10.5px;
    padding: 4px 11px;
  }

  .ga-moment__title { font-size: 19px; line-height: 1.25; }
  .ga-moment__desc  { font-size: 14px; line-height: 1.65; margin-top: 12px; }


  /* ══════════════════════════════════════════
     SECTION 3 — Pet kampanja
     ══════════════════════════════════════════ */

  .section-ga-campaigns {
    padding: 60px 0 70px;
  }

  /* 5-col grid → single column, separated cards (no shared border) */
  .ga-campaigns__grid {
    grid-template-columns: 1fr;
    gap: 12px;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
  }

  .ga-camp {
    padding: 26px 22px 30px;
    gap: 12px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.08);
  }

  .ga-camp__title { font-size: 18px; line-height: 1.25; }
  .ga-camp__desc  { font-size: 13.5px; line-height: 1.65; }
  .ga-camp__tag   { font-size: 11px; }


  /* ══════════════════════════════════════════
     SECTION 4 — Proces (4 koraka)
     ══════════════════════════════════════════ */

  .section-ga-process {
    padding: 60px 0 70px;
  }

  .ga-process__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ga-proc {
    padding: 28px 22px 32px;
    gap: 16px;
    border-radius: 12px;
  }

  .ga-proc__num {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }

  .ga-proc__title { font-size: 19px; line-height: 1.25; }
  .ga-proc__desc  { font-size: 14px; line-height: 1.65; }


  /* ══════════════════════════════════════════
     SECTION 5 — Pricing
     ══════════════════════════════════════════ */

  .section-ga-pricing {
    padding: 60px 0 70px;
  }

  .ga-pricing__inner {
    gap: 36px;
    align-items: stretch;
    padding-left: 0;
    padding-right: 0;
  }

  .ga-pricing__head {
    text-align: left;
    max-width: 100%;
  }

  .ga-pricing__heading {
    margin: 0 0 18px;
    white-space: normal;
    line-height: 1.15;
  }

  .ga-pricing__heading .ga-h2-mont,
  .ga-pricing__heading .ga-h2-dutch { display: inline; }

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

  /* 2-col side-by-side → vertical stack */
  .ga-pricing__cards {
    flex-direction: column;
    gap: 12px;
  }

  .ga-pricing__card {
    padding: 28px 24px;
    border-radius: 12px;
    gap: 10px;
  }

  .ga-pricing__card-label { font-size: 10.5px; }
  .ga-pricing__card-value { font-size: 22px; line-height: 1.15; }
  .ga-pricing__card-value em { font-size: 26px; }
  .ga-pricing__card-desc  { font-size: 13px; line-height: 1.65; }

  .ga-pricing__cta {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 20px;
    font-size: 14px;
  }


  /* ══════════════════════════════════════════
     FAQ
     ══════════════════════════════════════════ */

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

  .faq__heading { margin-bottom: 36px; text-align: left; }
  .faq__heading .h2-mont { font-size: var(--fs-h2-mont); line-height: 1.15; }
  .faq__heading .h2-dutch { font-size: var(--fs-h2-dutch); line-height: 1.05; }
  .faq__question { gap: 16px; padding: 20px 0; }
  .faq__question-text  { font-size: 14px; }
  .faq__answer-inner   { max-width: 100%; font-size: 15px; }


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

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

  .cta__heading { margin-bottom: 20px; text-align: left; }
  .cta__heading .h2-mont { font-size: var(--fs-h2-mont); line-height: 1.15; }
  .cta__heading .h2-dutch { font-size: var(--fs-h2-dutch); line-height: 1.05; }
  .cta__heading-line { display: inline; }
  .cta__dimmed { display: inline; }

  .cta__sub {
    font-size: 15px;
    margin: 0 0 32px 0;
    text-align: left;
  }

  .cta__btn-wrap { text-align: left; }

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


  /* ══════════════════════════════════════════
     Disable any sticky/curtain wrappers on mobile
     ══════════════════════════════════════════ */
  .ga-curtain-wrap { position: static !important; }

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