/*!
 * QRfotky · hero.css
 * Hero + feature strip + Jak to funguje + Mnohem víc než fotky
 */

    /* ==========================================================
       HERO
       ========================================================== */
    .hero {
      position: relative;
      min-height: 760px;
      overflow: hidden;
      background: var(--dark);
      color: #fff;
    }
    .hero-bg {
      position: absolute;
      inset: 0;
      background-image:
        radial-gradient(ellipse at 75% 50%, rgba(91, 141, 239, 0.18), transparent 50%),
        url('../images/hero-event.jpg');
      background-size: cover;
      background-position: center right;
    }
    .hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(
        90deg,
        rgba(8, 7, 20, 0.92) 0%,
        rgba(8, 7, 20, 0.62) 42%,
        rgba(8, 7, 20, 0.12) 100%
      );
    }
    .hero-inner {
      position: relative;
      z-index: 2;
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 32px;
      display: grid;
      grid-template-columns: 620px 1fr;
      gap: 48px;
      min-height: 760px;
      align-items: center;
    }
    .hero-content { padding-top: 30px; }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 14px;
      border-radius: 999px;
      background: rgba(32, 86, 214,0.26);
      border: 1px solid rgba(255,255,255,0.24);
      color: #fff;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .hero-badge::before {
      content: '';
      width: 6px;
      height: 6px;
      background: var(--violet-2);
      border-radius: 50%;
      box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.3);
      flex-shrink: 0;
    }

    .hero h1 {
      margin-top: 24px;
      font-size: 68px;
      line-height: 1.04;
      font-weight: 800;
      letter-spacing: -0.05em;
    }
    .hero-lede {
      max-width: 520px;
      margin-top: 24px;
      font-size: 18px;
      line-height: 1.7;
      color: rgba(255,255,255,0.82);
    }
    .hero-actions {
      display: flex;
      gap: 14px;
      margin-top: 36px;
      flex-wrap: wrap;
    }
    .hero-trust {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-top: 38px;
    }
    .avatars {
      display: flex;
    }
    .avatars span {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      border: 2px solid #1a1a24;
      background-size: cover;
      background-position: center;
      margin-left: -10px;
    }
    .avatars span:first-child { margin-left: 0; }
    .av-1 { background: linear-gradient(135deg, #5B8DEF, #5B8DEF); }
    .av-2 { background: linear-gradient(135deg, #C9E0FF, #5B8DEF); }
    .av-3 { background: linear-gradient(135deg, #9DBEF4, #5B8DEF); }
    .av-4 { background: linear-gradient(135deg, #9DBEF4, #2056D6); }
    .av-5 { background: linear-gradient(135deg, #C9DCFF, #2056D6); }
    .hero-trust-text {
      font-size: 13px;
      color: rgba(255,255,255,0.7);
      line-height: 1.4;
    }
    .hero-trust-text strong { color: #fff; font-weight: 600; }

    /* Hero visual: phone + QR card */
    .hero-visual {
      position: relative;
      height: 600px;
    }
    .hero-phone {
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 290px;
      height: 580px;
      background: #0a0a14;
      border-radius: 40px;
      padding: 12px;
      box-shadow:
        0 0 0 1.5px rgba(255,255,255,0.08),
        var(--shadow-mob);
      animation: floatPhone 6s ease-in-out infinite;
    }
    .hero-phone::before {
      content: '';
      position: absolute;
      top: 18px;
      left: 50%;
      transform: translateX(-50%);
      width: 100px;
      height: 24px;
      background: #0a0a14;
      border-radius: 999px;
      z-index: 5;
    }
    @keyframes floatPhone {
      0%, 100% { transform: translateY(-50%); }
      50% { transform: translateY(calc(-50% - 12px)); }
    }
    .hero-phone-screen {
      width: 100%;
      height: 100%;
      background: #fff;
      border-radius: 30px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      position: relative;
    }
    /* Host home screen after scanning QR */
    .hpn-home { padding: 12px 14px 0; color: var(--ink); }
    .hpn-status {
      display: flex;
      justify-content: space-between;
      padding: 2px 10px;
      font-size: 11px;
      font-weight: 600;
      color: var(--ink);
    }
    .hpn-bell {
      position: absolute;
      top: 38px;
      right: 18px;
      color: var(--violet);
      z-index: 2;
    }
    .hpn-welcome {
      text-align: center;
      padding: 14px 0 8px;
      position: relative;
    }
    .hpn-welcome small {
      display: block;
      font-size: 11px;
      color: var(--ink-soft);
      margin-bottom: 4px;
    }
    .hpn-welcome strong {
      display: block;
      font-size: 19px;
      font-weight: 800;
      color: var(--ink);
      letter-spacing: -0.02em;
    }
    .hpn-heart {
      margin: 6px auto 0;
      color: var(--violet);
      display: block;
    }
    .hpn-tiles {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 9px;
      padding: 14px 0 0;
    }
    .hpn-tile {
      aspect-ratio: 1.05 / 1;
      background: #E7EFFC;
      border-radius: 14px;
      padding: 12px 10px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 4px;
      cursor: pointer;
      transition: transform 0.2s var(--ease);
    }
    .hpn-tile:hover { transform: translateY(-2px); }
    .hpn-tile-ic {
      color: var(--violet);
      margin-bottom: 4px;
    }
    .hpn-tile strong {
      font-size: 13px;
      font-weight: 700;
      color: var(--ink);
    }
    .hpn-tile small {
      font-size: 10px;
      color: var(--ink-soft);
    }
    /* Big floating + button — instant upload */
    .hpn-fab {
      position: absolute;
      bottom: 56px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 9px 14px 9px 9px;
      background: var(--violet);
      color: #fff;
      border: 3px solid #fff;
      border-radius: 999px;
      font-family: inherit;
      cursor: pointer;
      box-shadow: 0 12px 28px rgba(32, 86, 214, 0.45);
      z-index: 3;
    }
    .hpn-fab-plus {
      width: 26px; height: 26px;
      border-radius: 50%;
      background: rgba(255,255,255,0.2);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      font-weight: 700;
      line-height: 1;
    }
    .hpn-fab-label {
      font-size: 10px;
      font-weight: 700;
      line-height: 1.1;
      text-align: left;
    }
    /* Bottom nav */
    .hpn-nav {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      padding: 7px 4px 12px;
      background: #fff;
      border-top: 1px solid var(--line);
    }
    .hpn-nav span {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2px;
      font-size: 9px;
      color: var(--ink-soft);
      line-height: 1.1;
      text-align: center;
    }
    .hpn-nav span.active { color: var(--violet); font-weight: 600; }
    .hpn-nav span svg { display: block; }

    .hero-qrcard {
      position: absolute;
      left: 30px;
      bottom: 50px;
      width: 200px;
      background: #fff;
      border-radius: 22px;
      padding: 16px;
      box-shadow: 0 30px 60px rgba(0,0,0,0.35);
      transform: rotate(-6deg) translate(var(--mx, 0), var(--my, 0));
      animation: floatCard 7s ease-in-out infinite;
      transition: transform 200ms ease;
    }
    @keyframes floatCard {
      0%, 100% { transform: rotate(-6deg) translate(var(--mx, 0), calc(var(--my, 0px) + 0px)); }
      50% { transform: rotate(-6deg) translate(var(--mx, 0), calc(var(--my, 0px) - 8px)); }
    }
    .hero-qr {
      width: 100%;
      aspect-ratio: 1;
      background:
        repeating-linear-gradient(0deg, #111 0 6%, transparent 6% 12%),
        repeating-linear-gradient(90deg, #111 0 6%, transparent 6% 12%);
      background-color: #fff;
      border-radius: 6px;
      position: relative;
    }
    .hero-qr::before, .hero-qr::after {
      content: '';
      position: absolute;
      width: 22%;
      height: 22%;
      border: 3px solid #111;
      background: #fff;
      top: 6%;
    }
    .hero-qr::before { left: 6%; }
    .hero-qr::after { right: 6%; }
    .hero-qrcard-label {
      margin-top: 10px;
      font-size: 11px;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--ink-soft);
      text-align: center;
    }
    .hero-qrcard-url {
      margin-top: 4px;
      font-size: 13px;
      font-weight: 600;
      text-align: center;
      color: var(--violet);
    }

    /* ==========================================================
       FEATURE STRIP (overlap hero)
       ========================================================== */
    .feature-strip {
      position: relative;
      z-index: 5;
      margin-top: -78px;
      padding: 0 32px 0;
    }
    .feature-strip-card {
      max-width: 1400px;
      margin: 0 auto;
      background: #fff;
      border-radius: 30px;
      box-shadow: var(--shadow-card);
      padding: 36px;
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 22px;
    }
    .feature-item {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .feature-icon {
      width: 56px;
      height: 56px;
      border-radius: 16px;
      display: grid;
      place-items: center;
    }
    .feature-icon svg { width: 24px; height: 24px; stroke-width: 1.7; }
    .feature-icon.c-vio { background: var(--pastel-vio); color: var(--violet); }
    .feature-icon.c-pink { background: var(--pastel-pink); color: #2056D6; }
    .feature-icon.c-green { background: var(--pastel-green); color: #2056D6; }
    .feature-icon.c-blue { background: var(--pastel-blue); color: #173FA6; }
    .feature-icon.c-oran { background: var(--pastel-oran); color: #2056D6; }
    .feature-item h3 {
      font-size: 15px;
      font-weight: 700;
      color: var(--ink);
      line-height: 1.3;
    }
    .feature-item p {
      font-size: 13px;
      line-height: 1.5;
      color: var(--ink-soft);
    }

    /* ==========================================================
       JAK TO FUNGUJE — 3 steps
       ========================================================== */
    .steps-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    .step-card {
      background: var(--bg-soft);
      border-radius: 30px;
      padding: 28px;
      min-height: 380px;
      position: relative;
      overflow: hidden;
      transition: transform 0.3s var(--ease);
    }
    .step-card:hover { transform: translateY(-4px); }
    .step-image {
      height: 190px;
      border-radius: 22px;
      overflow: hidden;
      margin-bottom: 24px;
      background-size: cover;
      background-position: center;
      position: relative;
    }
    .step-image-1 {
      background-image:
        linear-gradient(135deg, rgba(107,79,181,0.55), rgba(91, 141, 239,0.55)),
        url('../images/wedding-rings.jpg');
      background-size: cover;
      background-position: center;
      display: grid;
      place-items: center;
    }
    .step-image-1::after {
      content: '';
      width: 62%;
      height: 64%;
      background: #fff;
      border-radius: 14px;
      box-shadow: 0 16px 40px rgba(0,0,0,0.35);
      background-image:
        linear-gradient(180deg, var(--violet-grad)),
        linear-gradient(180deg, #fff 0 40%, var(--bg-soft) 40%);
    }
    .step-image-2 {
      background-image:
        linear-gradient(135deg, rgba(245,224,203,0.6), rgba(224,182,140,0.7)),
        url('../images/table-candles.jpg');
      background-size: cover;
      background-position: center;
      display: grid;
      place-items: center;
    }
    .step-image-2-qr {
      width: 92px;
      height: 110px;
      background: #fff;
      border-radius: 8px;
      box-shadow: 0 14px 30px rgba(0,0,0,0.25);
      padding: 10px;
      transform: rotate(-4deg);
    }
    .step-image-2-qr .qr {
      width: 100%;
      aspect-ratio: 1;
      background:
        repeating-linear-gradient(0deg, #111 0 6%, transparent 6% 12%),
        repeating-linear-gradient(90deg, #111 0 6%, transparent 6% 12%);
      background-color: #fff;
      border-radius: 3px;
    }
    .step-image-3 {
      background-image:
        linear-gradient(135deg, rgba(91, 141, 239,0.7), rgba(32, 86, 214,0.7)),
        url('../images/guests-toast.jpg');
      background-size: cover;
      background-position: center;
      position: relative;
      display: grid;
      place-items: center;
    }
    .step-image-3-phones {
      display: flex;
      gap: 8px;
      align-items: flex-end;
    }
    .step-image-3-phones > div {
      width: 50px;
      height: 90px;
      background: #fff;
      border-radius: 10px;
      padding: 6px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    }
    .step-image-3-phones > div:nth-child(1) { transform: translateY(8px); }
    .step-image-3-phones > div:nth-child(3) { transform: translateY(8px); }

    .step-number {
      width: 36px;
      height: 36px;
      border-radius: 999px;
      background: var(--violet-grad);
      color: #fff;
      display: grid;
      place-items: center;
      font-weight: 800;
      font-size: 16px;
      margin-bottom: 14px;
      box-shadow: 0 6px 16px rgba(32, 86, 214,0.32);
    }
    .step-card h3 {
      font-size: 24px;
      font-weight: 700;
      letter-spacing: -0.025em;
      line-height: 1.2;
    }
    .step-card p {
      margin-top: 12px;
      color: var(--ink-soft);
      font-size: 15px;
      line-height: 1.6;
    }

    /* ==========================================================
       MNOHEM VÍC NEŽ FOTKY
       ========================================================== */
    .more-section { background: #fff; padding: 80px 0 120px; }
    .more-layout {
      display: grid;
      grid-template-columns: 0.85fr 1.15fr;
      gap: 70px;
      align-items: center;
    }
    .more-copy h2 {
      font-size: 48px;
      line-height: 1.1;
      font-weight: 750;
      letter-spacing: -0.045em;
    }
    .more-copy > p {
      margin-top: 22px;
      font-size: 17px;
      line-height: 1.7;
      color: var(--ink-soft);
    }
    .benefit-list {
      list-style: none;
      padding: 0;
      margin: 32px 0 0;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .benefit-list li {
      display: flex;
      gap: 14px;
      align-items: center;
      font-size: 16px;
      color: var(--ink);
    }
    .check {
      width: 26px;
      height: 26px;
      border-radius: 999px;
      background: var(--pastel-vio);
      color: var(--violet);
      display: grid;
      place-items: center;
      flex-shrink: 0;
    }
    .check svg { width: 14px; height: 14px; stroke-width: 3; }

    .feature-showcase-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
    }
    .showcase-card {
      background: #fff;
      border-radius: 26px;
      padding: 24px;
      min-height: 240px;
      box-shadow: 0 16px 50px rgba(20,20,40,0.06);
      display: flex;
      flex-direction: column;
      transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
    }
    .showcase-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 24px 70px rgba(20,20,40,0.12);
    }
    .showcase-card.dark { background: var(--dark); color: #fff; }
    .showcase-card.dark p { color: rgba(255,255,255,0.7); }
    .showcase-card h3 {
      font-size: 19px;
      font-weight: 700;
      letter-spacing: -0.02em;
    }
    .showcase-card p {
      margin-top: 8px;
      font-size: 14px;
      line-height: 1.55;
      color: var(--ink-soft);
    }
    .showcase-vis {
      margin-top: auto;
      padding-top: 18px;
      height: 132px;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }
    .showcase-vis-img {
      width: 100%;
      height: 100%;
      border-radius: 16px;
      background-size: cover;
      background-position: center;
    }


/* ============================================================
   "Hotovo za tři kroky" (#jak) — malé karty vedle sebe (3 sloupce).
   Reveal stagger (fade-up) řídí homepage.js. Texty zůstávají.
   ============================================================ */
#jak { padding: 80px 0; }
#jak .steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; max-width: 900px; margin: 0 auto; }
#jak .step-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 0; overflow: hidden; min-height: auto; box-shadow: none;
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
#jak .step-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(20,20,40,.08); }
/* Tři různá barevná pozadí karet (svatba / party / oslava) — laděná na magentu */
#jak .step-card:nth-child(1) { background: #EAF1FE; border-color: transparent; }  /* světle modrá */
#jak .step-card:nth-child(2) { background: #DEEAFD; border-color: transparent; }  /* modrá */
#jak .step-card:nth-child(3) { background: #EEF3FE; border-color: transparent; }  /* světle modrá */
/* ikonová dlaždice: bílá, ať pop na barevném pozadí */
#jak .step-card .sc-ic svg { background: rgba(255,255,255,.8); color: var(--violet-dark); }
/* foto nahoře */
#jak .step-photo { height: 168px; background-size: cover; background-position: center; flex-shrink: 0; }
/* tělo */
#jak .step-body { padding: 22px 24px 26px; display: flex; flex-direction: column; }
#jak .step-card .sc-ic { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
#jak .step-card .sc-ic svg {
  width: 36px; height: 36px; padding: 9px; border-radius: 10px;
  background: var(--violet-soft); color: var(--violet-dark); box-sizing: border-box; flex-shrink: 0;
}
#jak .step-card .sc-step { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--violet); }
#jak .step-card h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 7px; }
#jak .step-card p { font-size: 14px; color: var(--ink-soft); margin: 0; line-height: 1.55; }
@media (max-width: 760px){ #jak .steps-grid { grid-template-columns: 1fr; } }

/* ===== MOBIL: hero na střed, tlačítka pod sebe ===== */
@media (max-width: 780px) {
  .qhero-text { text-align: center; }
  .qhero-eyebrow { justify-content: center; margin-left: auto; margin-right: auto; }
  .qhero-title, .qhero-lede { margin-left: auto; margin-right: auto; }
  .qhero-cta { flex-direction: column; align-items: stretch; gap: 10px; max-width: 340px; margin-left: auto; margin-right: auto; }
  .qhero-cta .qhero-btn { width: 100%; justify-content: center; }
  .qhero-pricelink { display: block; text-align: center; }
}
