/*!
 * QRfotky · footer.css
 * FAQ + micro benefits + demo section + final CTA + footer + responsive media queries
 */

    /* ==========================================================
       FAQ
       ========================================================== */
    .faq-section { background: #fff; padding: 70px 0 90px; }
    .faq-list {
      max-width: 1100px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      align-items: start;
    }
    @media (max-width: 820px) {
      .faq-list { grid-template-columns: 1fr; }
    }
    .faq-item {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 12px;
      overflow: hidden;
      transition: box-shadow 0.25s var(--ease);
    }
    .faq-item:hover { box-shadow: 0 6px 18px rgba(20,20,40,0.05); }
    .faq-item[open] {
      box-shadow: 0 8px 22px rgba(32, 86, 214,0.09);
      border-color: rgba(32, 86, 214,0.22);
    }
    .faq-item summary {
      list-style: none;
      cursor: pointer;
      padding: 14px 18px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      font-size: 14.5px;
      font-weight: 600;
      color: var(--ink);
    }
    .faq-item summary::-webkit-details-marker { display: none; }
    .faq-arrow {
      flex-shrink: 0;
      color: var(--violet);
      transition: transform 0.3s var(--ease);
    }
    .faq-arrow svg { width: 16px; height: 16px; }
    .faq-item[open] .faq-arrow { transform: rotate(180deg); }
    .faq-body {
      padding: 0 18px 16px;
      font-size: 13.5px;
      line-height: 1.6;
      color: var(--ink-soft);
    }
    .faq-body code {
      background: var(--pastel-vio);
      color: var(--violet);
      padding: 2px 8px;
      border-radius: 6px;
      font-size: 14px;
    }

    /* Final CTA trust line */
    .final-cta-trust {
      margin-top: 12px;
      font-size: 13px;
      color: rgba(255,255,255,0.6);
      letter-spacing: 0.01em;
    }
    .final-cta-trust strong { color: #fff; font-weight: 600; }

    /* ==========================================================
       MICRO BENEFITS STRIP
       ========================================================== */
    .micro-benefits-wrap { padding: 0 32px 110px; }
    .micro-benefits {
      max-width: 1400px;
      margin: 0 auto;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 26px;
      padding: 28px 32px;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      box-shadow: 0 16px 50px rgba(20,20,40,0.06);
    }
    .micro-benefit {
      display: flex;
      gap: 14px;
      align-items: flex-start;
    }
    .micro-benefit-ic {
      width: 42px;
      height: 42px;
      border-radius: 12px;
      display: grid;
      place-items: center;
      flex-shrink: 0;
    }
    .micro-benefit-ic svg { width: 20px; height: 20px; }
    .micro-benefit strong {
      display: block;
      font-size: 14.5px;
      font-weight: 700;
      color: var(--ink);
    }
    .micro-benefit p {
      margin-top: 2px;
      font-size: 13px;
      color: var(--ink-soft);
      line-height: 1.4;
    }

    /* ==========================================================
       DEMO SECTION
       ========================================================== */
    .demo-section { background: #fff; padding: 80px 0 120px; }
    .demo-layout {
      display: grid;
      grid-template-columns: 0.9fr 1.1fr;
      gap: 70px;
      align-items: center;
    }
    .demo-copy h2 {
      font-size: 44px;
      line-height: 1.15;
      font-weight: 750;
    }
    .demo-copy p {
      margin-top: 18px;
      color: var(--ink-soft);
      font-size: 17px;
      line-height: 1.7;
    }
    .demo-actions {
      margin-top: 28px;
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }
    .demo-row {
      display: flex;
      gap: 20px;
      align-items: center;
      justify-content: center;
      position: relative;
    }
    .demo-phone {
      width: 200px;
      height: 410px;
      background: #0a0a14;
      border-radius: 36px;
      padding: 10px;
      box-shadow: var(--shadow-mob);
      flex-shrink: 0;
      position: relative;
    }
    .demo-phone::before {
      content: '';
      position: absolute;
      top: 14px;
      left: 50%;
      transform: translateX(-50%);
      width: 70px;
      height: 18px;
      background: #0a0a14;
      border-radius: 999px;
      z-index: 5;
    }
    .demo-phone-screen {
      width: 100%;
      height: 100%;
      background: #FAF7F3;
      border-radius: 28px;
      overflow: hidden;
      padding: 38px 10px 10px;
    }
    .demo-phone:nth-child(2) {
      transform: translateY(-30px);
      width: 220px;
      height: 450px;
    }
    .demo-phone:nth-child(2) .demo-phone-screen {
      background: var(--dark);
    }
    .demo-phone:nth-child(3) {
      transform: translateY(0);
    }
    .demo-pscreen-1 {
      height: 100%;
      background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.5)),
                  url('../images/wedding-couple.jpg') center/cover;
      border-radius: 20px;
      display: flex;
      align-items: flex-end;
      padding: 12px;
      color: #fff;
      font-family: 'Inter', serif;
      font-style: italic;
      font-size: 14px;
    }
    .demo-pscreen-dj {
      padding: 16px 8px;
      color: #fff;
      text-align: center;
    }
    .demo-pscreen-dj-vinyl {
      width: 110px;
      height: 110px;
      border-radius: 50%;
      margin: 30px auto;
      background:
        radial-gradient(circle at center, #2056D6 0 12%, #0a0a14 12.5% 100%);
      box-shadow: inset 0 0 0 6px rgba(255,255,255,0.05);
    }
    .demo-pscreen-program {
      padding: 8px 10px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .demo-pscreen-program .row {
      display: flex;
      gap: 10px;
      padding: 6px 0;
      border-bottom: 1px solid var(--line);
      font-size: 11px;
    }
    .demo-pscreen-program .row strong { color: var(--violet); width: 35px; }

    /* ==========================================================
       FINAL CTA
       ========================================================== */
    .final-cta { padding: 0 0 96px; }
    .final-cta-box {
      max-width: 920px;
      margin: 0 auto;
      background: var(--dark);
      border-radius: 34px;
      padding: 64px 72px;
      color: #fff;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 32px;
      overflow: hidden;
      position: relative;
    }
    .final-cta-box::before {
      content: '';
      position: absolute;
      width: 460px;
      height: 460px;
      right: -160px;
      top: -160px;
      background: radial-gradient(circle, rgba(32, 86, 214,0.55), transparent 65%);
      border-radius: 50%;
      animation: ctaPulse 6s ease-in-out infinite;
    }
    @keyframes ctaPulse {
      0%, 100% { transform: scale(1); opacity: 1; }
      50% { transform: scale(1.1); opacity: 0.8; }
    }
    .final-cta-box::after {
      content: '';
      position: absolute;
      width: 220px;
      height: 220px;
      left: -60px;
      bottom: -80px;
      background: radial-gradient(circle, rgba(91, 141, 239, 0.3), transparent 70%);
      border-radius: 50%;
    }
    .final-cta-content { position: relative; z-index: 2; }
    .final-cta-mark {
      width: 56px;
      height: 56px;
      border-radius: 16px;
      background: var(--violet-grad);
      display: grid;
      place-items: center;
      margin: 0 auto 24px;
      box-shadow: 0 12px 30px rgba(32, 86, 214,0.4);
    }
    .final-cta-mark svg { width: 28px; height: 28px; color: #fff; }
    .final-cta h2 {
      font-size: 42px;
      line-height: 1.1;
      font-weight: 750;
      letter-spacing: -0.04em;
    }
    .final-cta-content > p {
      margin: 16px auto 0;
      color: rgba(255,255,255,0.78);
      font-size: 17px;
      line-height: 1.6;
      max-width: 46ch;
    }
    .final-cta-action {
      position: relative;
      z-index: 2;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 14px;
    }
    .final-cta-action .btn-primary {
      height: 60px;
      padding: 0 32px;
      font-size: 16px;
      box-shadow: 0 18px 50px rgba(32, 86, 214,0.45);
    }
    .final-cta-hint {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 14px;
      color: rgba(255,255,255,0.65);
    }
    .arrow-doodle {
      transform: rotate(-15deg);
      color: var(--violet-2);
    }

    /* ==========================================================
       FOOTER
       ========================================================== */
    .footer {
      padding: 56px 0 32px;
      border-top: 1px solid var(--line);
      background: #fff;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.4fr repeat(4, 1fr);
      gap: 48px;
    }
    .footer-brand .brand { margin-bottom: 16px; }
    .footer-brand p {
      font-size: 13px;
      color: var(--ink-soft);
      line-height: 1.6;
    }
    .footer-col h4, .footer-col .footer-col__nadpis {
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: var(--ink);
      margin: 0 0 16px;
    }
    .footer-col ul {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .footer-col a {
      font-size: 14px;
      color: var(--ink-soft);
      transition: color 0.18s;
    }
    .footer-col a:hover { color: var(--violet); }
    .footer-bottom {
      margin-top: 56px;
      padding-top: 24px;
      border-top: 1px solid var(--line);
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 12px;
      color: var(--ink-soft);
    }

    /* Scroll reveal handled by GSAP — keep .reveal / .reveal-stagger as no-op markers */
    .reveal, .reveal-stagger { /* GSAP manages opacity/transform */ }

    /* ==========================================================
       RESPONSIVE
       ========================================================== */
    @media (max-width: 1100px) {
      .hero h1 { font-size: 56px; }
      .feature-strip-card { grid-template-columns: repeat(4, 1fr); gap: 24px; }
      .feature-strip-card .feature-item:nth-child(n+5) { display: none; }
      .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
      .footer-brand { grid-column: 1 / -1; }
    }
    @media (max-width: 900px) {
      .more-layout,
      .trust-layout,
      /* `min-width: 0` — bez toho se položky gridu nezmenší pod svou
         přirozenou šířku (358 px) a v 350px sloupci se osm pixelů ořízlo. */
      .demo-layout { grid-template-columns: minmax(0, 1fr); gap: 48px; }
      .demo-layout > * { min-width: 0; }
      .pricing-grid { grid-template-columns: 1fr; gap: 36px; }
      .price-card.featured { transform: none; }
      .steps-grid { grid-template-columns: 1fr; }
      .feature-showcase-grid { grid-template-columns: 1fr; }
      .review-grid { grid-template-columns: 1fr; }
      .micro-benefits { grid-template-columns: 1fr 1fr; }
      .final-cta-box { grid-template-columns: 1fr; padding: 48px; }
    }
    @media (max-width: 768px) {
      .container { padding: 0 20px; }
      .header-inner { padding: 0 20px; }
      .hamburger { display: flex; }

      /* Mobilní menu — skryté dokud hamburger neotevře */
      .header-menu { display: none; }
      .header.menu-open .header-menu {
        display: flex;
        flex-direction: column;
        gap: 18px;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 22px 24px 26px;
        border-bottom: 1px solid rgba(0,0,0,0.06);
        box-shadow: 0 18px 40px rgba(0,0,0,0.10);
        animation: hdrMenuIn 0.22s cubic-bezier(0.32,0.72,0,1);
      }
      .header.menu-open .nav {
        display: flex;
        flex-direction: column;
        gap: 4px;
        align-items: stretch;
      }
      .header.menu-open .nav a {
        padding: 12px 6px;
        font-size: 16px;
        border-bottom: 1px solid rgba(0,0,0,0.05);
      }
      .header.menu-open .header-cta {
        display: flex;
        flex-direction: column;
        gap: 10px;
      }
      .header.menu-open .header-cta .btn { width: 100%; justify-content: center; }
      @keyframes hdrMenuIn {
        from { opacity: 0; transform: translateY(-8px); }
        to   { opacity: 1; transform: translateY(0); }
      }

      .section { padding: 64px 0; }
      .section-header h2 { font-size: 32px; }

      .hero { min-height: auto; padding: 64px 0 100px; }
      .hero-inner {
        grid-template-columns: 1fr;
        gap: 36px;
        min-height: auto;
        padding-top: 32px;
      }
      .hero h1 { font-size: 40px; }
      .hero-lede { font-size: 16px; }
      .hero-actions { flex-direction: column; align-items: stretch; }
      .hero-actions .btn { width: 100%; }
      .hero-visual { height: 420px; }
      .hero-phone {
        position: static;
        margin: 0 auto;
        transform: none;
        width: 250px;
        height: 500px;
      }
      .hero-qrcard { display: none; }

      .feature-strip { padding: 0 20px; margin-top: -50px; }
      .feature-strip-card {
        grid-template-columns: repeat(2, 1fr);
        padding: 24px;
        gap: 18px;
      }

      .step-card { min-height: auto; }
      .step-card h3 { font-size: 20px; }
      .more-copy h2,
      .trust-copy h2,
      .demo-copy h2 { font-size: 32px; }

      .micro-benefits { grid-template-columns: 1fr; padding: 20px; }
      .micro-benefits-wrap { padding: 0 20px 64px; }

      .demo-row { flex-direction: column; gap: 24px; }
      .demo-phone:nth-child(2) { transform: none; width: 240px; height: 480px; }

      .final-cta-box { margin: 0 20px; padding: 36px 28px; border-radius: 24px; }
      .final-cta h2 { font-size: 28px; }
      .final-cta-action { width: 100%; }
      .final-cta-action .btn-primary { width: 100%; }

      /* mobil: odkazové sloupce vedle sebe (2 sloupce), ať footer není dlouhý */
      .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
      .footer-brand { grid-column: 1 / -1; }
      .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    }

/* ===== MOBIL: horizontální swipe karusely (místo dlouhého stackování) ===== */
@media (max-width: 780px) {
  /* Ukázky akcí — 6 karet vedle sebe se snapem místo 2800px sloupce */
  .events-grid {
    display: flex !important;
    align-items: stretch;          /* karty stejně vysoké, ať nejsou rozhozené */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding: 4px 4px 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .events-grid::-webkit-scrollbar { display: none; }
  .events-grid .event-card { flex: 0 0 80%; scroll-snap-align: center; display: flex; flex-direction: column; }
  .events-grid .event-card .event-card-body { flex: 1; }

  /* Demo telefony — swipe místo 3 telefonů pod sebou */
  .demo-row {
    display: flex !important;
    flex-direction: row !important;   /* přebíjí starší mobile pravidlo (column) */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 18px;
    padding: 4px 8px 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .demo-row::-webkit-scrollbar { display: none; }
  .demo-row .demo-phone { flex: 0 0 72%; scroll-snap-align: center; }
}

/* ===== MOBIL: mini funkce pod hero — kompaktní 3 sloupce, bez popisků ===== */
@media (max-width: 780px) {
  .qhero-features { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 10px !important; }
  .qhf { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 12px 6px;
    background: #fff; border: 1px solid #E9EDF5; border-radius: 14px; }
  .qhf-ic { margin: 0; width: 38px; height: 38px; display: grid; place-items: center; }
  .qhf-ic svg { width: 19px; height: 19px; }
  .qhf-t { font-size: 12.5px; font-weight: 700; line-height: 1.2; }
  .qhf-d { display: none; }
}

/* ===== MOBIL: větší hero nadpis + eyebrow ===== */
@media (max-width: 780px) {
  .qhero-eyebrow { font-size: 14px; }
  .qhero-title { font-size: clamp(46px, 12.5vw, 56px) !important; line-height: 1.04; }
  .qhero-lede { font-size: 17px; }
}

/* ===== MOBIL: větší „Funguje pro …" cycler (svisle, slova na celou šířku) ===== */
@media (max-width: 780px) {
  .qcyc-band { margin: 28px 16px; border-radius: 24px; }
  .qcyc { padding: 22px 14px 16px; }
  .qcyc-card { flex-direction: column; align-items: center; gap: 8px; width: 100%; }
  .qcyc-lead { font-size: 20px; display: inline-flex; align-items: center; gap: 10px; }
  .qcyc-arrow { width: 34px; height: 34px; transform: rotate(90deg); }
  .qcyc-arrow svg { width: 16px; height: 16px; }
  .qcyc-window { height: 150px; width: 100%; }
  .qcyc-item { font-size: 31px; height: 46px; justify-content: center; }
}


/* Identifikace prodávajícího nad spodní lištou patičky.
   Povinný údaj (§ 1811 OZ) — do 3. 9. 2026 na webu nebyl vůbec. */
.footer-seller{
  padding:14px 0 0;
  font-size:12.5px;
  line-height:1.6;
  color:#7A8496;
}


/* ============================================================================
   Patička na mobilu — dotykové cíle
   ============================================================================
   POZOR NA DUPLICITU: patičku stylují DVA soubory. Homepage načítá tenhle
   `footer.css`, podstránky `footer-shared.css` (viz enqueue ve functions.php).
   Obě mají vlastní `.footer-col a`. Když se opraví jen jedno, rozejdou se —
   přesně to se 3. 9. 2026 stalo: podstránky měly cíle 34 px, homepage dál 18.
   Až se to bude sjednocovat, začni tady.

   Odkazy byly `inline` bez odsazení, takže dotykový cíl měřil 18 px na výšku
   a je jich pod sebou osmnáct. Doporučené minimum je 24 px.
   ========================================================================== */
@media (max-width: 768px) {
  .footer-col a {
    display: inline-block;
    padding: 6px 0;
  }
  .footer-col ul { gap: 2px; }
}

/* Ikony sítí v patičce (část H plánu, 6. 9. 2026). Homepage načítá footer.css,
   ostatní stránky footer-shared.css — pravidlo musí být v obou. Dotyková plocha 40×40. */
.footer-social { display: flex; gap: .75rem; justify-content: center; margin: 1rem 0 .25rem; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; color: inherit; opacity: .7; transition: opacity .15s ease; }
.footer-social a:hover, .footer-social a:focus-visible { opacity: 1; }
