/* VetFlow — wspólne style stron marketingowych.
   VETFL-749: wyciągnięte z templates/pages/landing.html, żeby druga strona
   (/otwieram-gabinet) dziedziczyła je zamiast kopiować. Poprawka wchodzi raz
   i obejmuje obie strony — w tym reguły dla wąskich ekranów z 19.07. */

  /* ====================================================================
     VetFlow — Landing (light, clean SaaS). Built on Vet-Flow DS tokens
     (Nunito, stone grays, radii, shadows) with a turquoise accent layer.
     ==================================================================== */
  :root {
    --tq:        #2BB3A3;   /* brief accent — turkus */
    --tq-dark:   #1f9486;
    --tq-deep:   #167a6f;
    --tq-light:  #e3f6f2;
    --tq-50:     #f3fbfa;
    --tq-ring:   rgba(43,179,163,0.16);
    --ink:       #14201e;   /* warm near-black */
    --ink-soft:  #5b6663;
    --line:      #e9eceb;
    --line-soft: #f1f4f3;
    --cream:     #f7faf9;
    --maxw: 1160px;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background: #ffffff;
    color: var(--ink);
    font-family: var(--font-family);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
  section { position: relative; }
  ::selection { background: var(--tq-light); }

  h1, h2, h3 { color: var(--ink); letter-spacing: -0.03em; line-height: 1.08; }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 800; letter-spacing: 0.02em;
    color: var(--tq-deep); text-transform: uppercase;
    background: var(--tq-light); padding: 7px 13px; border-radius: var(--radius-full);
  }
  .eyebrow i, .eyebrow svg { width: 15px; height: 15px; }
  .sec-head { max-width: 660px; }
  .sec-head.center { margin: 0 auto; text-align: center; }
  .sec-head h2 { font-size: clamp(1.9rem, 4vw, 2.85rem); font-weight: 800; margin: 18px 0 0; text-wrap: balance; }
  .sec-head p { font-size: clamp(1rem, 1.5vw, 1.18rem); color: var(--ink-soft); margin: 16px 0 0; text-wrap: pretty; }

  /* ── Buttons ─────────────────────────────────────────────── */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    font-family: var(--font-family); font-size: 16px; font-weight: 700;
    padding: 14px 22px; border-radius: var(--radius-full); border: 1.5px solid transparent;
    cursor: pointer; text-decoration: none; white-space: nowrap; line-height: 1;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  }
  .btn i, .btn svg { width: 18px; height: 18px; }
  .btn-primary { background: var(--tq); color: #fff; box-shadow: 0 8px 20px -8px rgba(43,179,163,0.6); }
  .btn-primary:hover { background: var(--tq-dark); transform: translateY(-2px); box-shadow: 0 14px 26px -10px rgba(43,179,163,0.7); }
  .btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
  .btn-ghost:hover { border-color: var(--tq); color: var(--tq-deep); background: var(--tq-50); }
  .btn-soft { background: var(--tq-light); color: var(--tq-deep); }
  .btn-soft:hover { background: #d3f0ea; }
  .btn-block { width: 100%; }

  /* ── Nav ─────────────────────────────────────────────────── */
  header.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,0.82); backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
  }
  header.nav.scrolled { border-color: var(--line); box-shadow: 0 1px 0 rgba(20,32,30,0.02); }
  .nav-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
  .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
  .brand img { width: 34px; height: 34px; }
  .brand b { font-size: 21px; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); }
  .nav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
  .nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 15px; font-weight: 600; transition: color .15s; }
  .nav-links a:hover { color: var(--tq-deep); }
  .nav-cta { display: flex; align-items: center; gap: 10px; }
  .nav-cta .btn { padding: 10px 18px; font-size: 15px; }
  .nav-login-mobile { display: none; }
  .nav-signin { color: var(--ink); font-weight: 700; text-decoration: none; font-size: 15px; padding: 10px 6px; }
  .nav-signin:hover { color: var(--tq-deep); }
  .menu-btn { display: none; background: none; border: none; cursor: pointer; color: var(--ink); padding: 6px; }

  /* ── Hero ────────────────────────────────────────────────── */
  .hero { padding: 72px 0 40px; overflow: hidden; }
  .hero::before {
    content: ""; position: absolute; z-index: -1; top: -180px; right: -160px;
    width: 760px; height: 760px; border-radius: 50%;
    background: radial-gradient(circle, rgba(43,179,163,0.16), transparent 62%);
    pointer-events: none;
  }
  .hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
  .hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 800; margin: 22px 0 0; text-wrap: balance; }
  .hero h1 em { font-style: normal; color: var(--tq-deep); }
  .hero .lede { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: var(--ink-soft); margin: 22px 0 0; max-width: 52ch; text-wrap: pretty; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
  .hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; }
  .hero-trust span { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }
  .hero-trust i, .hero-trust svg { width: 18px; height: 18px; color: var(--tq); }

  /* Hero product mockup */
  .mock {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl);
    box-shadow: 0 40px 80px -40px rgba(20,40,38,0.35), 0 8px 24px -12px rgba(20,40,38,0.12);
    overflow: hidden; transform: rotate(0.4deg);
  }
  .mock-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--line-soft); background: var(--cream); }
  .mock-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: #dfe5e3; }
  .mock-bar .url { margin-left: 8px; font-size: 12px; font-weight: 700; color: var(--ink-soft); display: flex; align-items: center; gap: 6px; }
  .mock-bar .url i { width: 13px; height: 13px; color: var(--tq); }
  .mock-body { padding: 18px; }
  .mock-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
  .mock-hd h4 { font-size: 16px; font-weight: 800; margin: 0; letter-spacing: -0.02em; }
  .mock-hd .cnt { font-size: 12px; font-weight: 700; color: var(--tq-deep); background: var(--tq-light); padding: 4px 10px; border-radius: var(--radius-full); }
  .appt { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 11px 12px; border-radius: var(--radius); margin-bottom: 6px; border: 1px solid transparent; transition: background .15s; }
  .appt.on { background: var(--tq-50); border-color: var(--tq-ring); }
  .appt .tm { font-size: 13px; font-weight: 800; color: var(--ink); line-height: 1.1; }
  .appt .tm small { display: block; font-size: 10px; font-weight: 700; color: var(--ink-soft); }
  .appt .who { display: flex; align-items: center; gap: 10px; }
  .appt .av { width: 30px; height: 30px; border-radius: 50%; background: var(--tq-light); color: var(--tq-deep); display: grid; place-items: center; flex: none; }
  .appt .av i, .appt .av svg { width: 17px; height: 17px; }
  .appt .nm { font-size: 13.5px; font-weight: 700; line-height: 1.2; }
  .appt .br { font-size: 11.5px; color: var(--ink-soft); }
  .appt .tag { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--tq-deep); background: var(--tq-light); padding: 3px 8px; border-radius: var(--radius-full); }
  /* pływający kafelek Łappky */
  .mock-chip {
    position: absolute; bottom: -22px; left: -26px; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 13px 15px;
    box-shadow: 0 20px 40px -16px rgba(20,40,38,0.3); display: flex; align-items: center; gap: 12px;
  }
  .mock-chip .ph { width: 38px; height: 38px; border-radius: 11px; background: var(--tq); color: #fff; display: grid; place-items: center; flex: none; }
  .mock-chip .ph i { width: 20px; height: 20px; }
  .mock-chip b { font-size: 13.5px; font-weight: 800; display: block; line-height: 1.2; }
  .mock-chip small { font-size: 11.5px; color: var(--ink-soft); }

  /* ── Podgląd: prawdziwe ekrany ───────────────────────────── */
  .peek { background: var(--ink); }
  .peek .sec-head h2 { color: #fff; }
  .peek .sec-head p { color: rgba(255,255,255,0.72); }
  .peek .eyebrow { background: rgba(255,255,255,0.10); color: #eafaf7; }
  .peek-stage { position: relative; max-width: 900px; margin: 50px auto 0; }
  .shot-browser { background: #fff; border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-xl); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.55); }
  .shot-browser img { display: block; width: 100%; height: auto; }
  .shot-phone { position: absolute; bottom: -44px; width: 182px; background: #0c1513; border-radius: 32px; padding: 7px; box-shadow: 0 34px 60px -22px rgba(0,0,0,0.65); border: 1px solid rgba(255,255,255,0.07); }
  .shot-phone--r { right: -14px; }
  .shot-phone--l { left: -14px; }
  .shot-phone::before { content: ""; position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: 48px; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.22); z-index: 2; }
  .shot-phone img { display: block; width: 100%; height: auto; border-radius: 26px; }
  .peek-cap { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin-top: 34px; font-size: 14px; color: rgba(255,255,255,0.58); }
  .peek-cap i { width: 16px; height: 16px; color: var(--tq); }
  @media (max-width: 720px) {
    .shot-phone { position: static; left: auto; right: auto; width: 58%; margin: 20px auto 0; }
  }

  /* logos / proof strip */
  .strip { padding: 30px 0 8px; }
  .strip p { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); opacity: 0.7; margin: 0 0 18px; }
  .strip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px; }
  .strip-row span { font-size: 15px; font-weight: 800; color: #c2cac8; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 8px; }
  .strip-row span i { width: 17px; height: 17px; }

  /* ── Section rhythm ──────────────────────────────────────── */
  .pad { padding: 92px 0; }
  .pad-sm { padding: 64px 0; }
  .tint { background: var(--cream); }

  /* ── Bolączki ────────────────────────────────────────────── */
  .pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
  .pain {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 26px; display: flex; gap: 16px; align-items: flex-start; transition: transform .2s, box-shadow .2s, border-color .2s;
  }
  .pain:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--tq-ring); }
  .pain .pi { width: 44px; height: 44px; border-radius: 12px; background: #fff5f0; color: #d97706; display: grid; place-items: center; flex: none; }
  .pain .pi i { width: 22px; height: 22px; }
  .pain p { font-size: 15.5px; font-weight: 600; color: var(--ink); margin: 0; line-height: 1.5; }

  /* ── Funkcje ─────────────────────────────────────────────── */
  .feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
  .feat {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
    transition: transform .2s, box-shadow .2s, border-color .2s;
  }
  .feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--tq-ring); }
  .feat .fi { width: 52px; height: 52px; border-radius: 14px; background: var(--tq-light); color: var(--tq-deep); display: grid; place-items: center; margin-bottom: 18px; }
  .feat .fi i, .feat .fi svg { width: 26px; height: 26px; }
  .feat h3 { font-size: 18px; font-weight: 800; margin: 0 0 8px; letter-spacing: -0.02em; }
  .feat p { font-size: 14.5px; color: var(--ink-soft); margin: 0; line-height: 1.55; }
  .feat .tag-incl { display: inline-block; margin-top: 12px; font-size: 11.5px; font-weight: 800; color: var(--tq-deep); background: var(--tq-50); border: 1px solid var(--tq-ring); padding: 3px 9px; border-radius: var(--radius-full); }

  /* ── My vs Inni ──────────────────────────────────────────── */
  .vs-claim { max-width: 720px; margin: 22px auto 0; text-align: center; font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: var(--ink-soft); text-wrap: pretty; }
  .vs-claim b { color: var(--ink); font-weight: 800; }
  .vs-scroll { margin-top: 44px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .vs-table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; }
  .vs-table th, .vs-table td { padding: 17px 20px; text-align: left; vertical-align: middle; }
  .vs-table thead th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-soft); font-weight: 800; border-bottom: 1px solid var(--line); }
  .vs-table thead th.us { color: var(--tq-deep); }
  .vs-table tbody td { font-size: 15px; border-bottom: 1px solid var(--line-soft); }
  .vs-table .feat-col { font-weight: 700; color: var(--ink); width: 34%; }
  .vs-table .us-col { font-weight: 700; }
  .vs-table .them-col { color: var(--ink-soft); }
  .vs-col-us { background: var(--tq-50); position: relative; }
  .vs-table thead .us { background: var(--tq-light); border-top-left-radius: var(--radius); border-top-right-radius: var(--radius); }
  .vs-table tbody tr:last-child .vs-col-us { border-bottom-left-radius: var(--radius); border-bottom-right-radius: var(--radius); }
  .ic-yes, .ic-no { display: inline-flex; align-items: center; gap: 9px; }
  .ic-yes i { width: 18px; height: 18px; color: var(--tq); flex: none; }
  .ic-no i { width: 18px; height: 18px; color: #c2cac8; flex: none; }
  .vs-table th.us-head-wrap { padding: 0; }
  .us-pill { display: inline-flex; align-items: center; gap: 7px; }
  .us-pill img { width: 18px; height: 18px; }

  /* ── Cennik ──────────────────────────────────────────────── */
  .price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; align-items: stretch; }
  .plan {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 22px;
    display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s;
  }
  .plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
  .plan.hot { border: 2px solid var(--tq); box-shadow: 0 20px 44px -22px rgba(43,179,163,0.5); position: relative; }
  .plan-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--tq); color: #fff; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; padding: 5px 14px; border-radius: var(--radius-full); white-space: nowrap; box-shadow: 0 6px 14px -6px rgba(43,179,163,0.7); }
  .plan .pname { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); }
  .plan.hot .pname { color: var(--tq-deep); }
  .plan .pprice { font-size: 2rem; font-weight: 800; letter-spacing: -0.04em; margin: 12px 0 2px; line-height: 1; }
  .plan .pprice span { font-size: 0.95rem; font-weight: 700; color: var(--ink-soft); letter-spacing: 0; }
  .plan .pseats { font-size: 14px; font-weight: 700; color: var(--ink); margin: 8px 0 0; }
  .plan .pdesc { font-size: 13px; color: var(--ink-soft); margin: 4px 0 18px; }
  .plan ul { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
  .plan li { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; color: var(--ink); }
  .plan li i { width: 16px; height: 16px; color: var(--tq); flex: none; margin-top: 2px; }
  .plan li.muted { color: var(--ink-soft); }
  .plan li.muted i { color: #c8d0ce; }
  .custom-bar {
    margin-top: 16px; background: var(--ink); color: #fff; border-radius: var(--radius-lg);
    padding: 28px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  }
  .custom-bar h3 { color: #fff; font-size: 1.4rem; font-weight: 800; margin: 0; }
  .custom-bar p { color: rgba(255,255,255,0.72); margin: 6px 0 0; font-size: 15px; max-width: 52ch; }
  .custom-bar .btn-primary { box-shadow: 0 8px 20px -8px rgba(43,179,163,0.8); }
  .price-note { margin-top: 22px; display: flex; gap: 12px; align-items: flex-start; background: var(--tq-50); border: 1px solid var(--tq-ring); border-radius: var(--radius); padding: 16px 20px; font-size: 14px; color: var(--ink); text-wrap: pretty; }
  .price-note i { width: 20px; height: 20px; color: var(--tq-deep); flex: none; margin-top: 1px; }

  /* ── Dowód ───────────────────────────────────────────────── */
  .proof { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: stretch; }
  .proof-quote { background: var(--ink); color: #fff; border-radius: var(--radius-xl); padding: 44px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
  .proof-quote::before { content: ""; position: absolute; top: -50px; right: -50px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(43,179,163,0.18), transparent 65%); }
  .proof-quote .qmark { font-size: 64px; font-weight: 800; line-height: 0.6; color: var(--tq); }
  .proof-quote blockquote { font-size: clamp(1.25rem, 2.2vw, 1.7rem); font-weight: 700; line-height: 1.35; letter-spacing: -0.02em; margin: 18px 0 24px; text-wrap: balance; position: relative; }
  .proof-quote .by { display: flex; align-items: center; gap: 13px; position: relative; }
  .proof-quote .by .ph { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.12); display: grid; place-items: center; color: #fff; flex: none; }
  .proof-quote .by .ph i { width: 22px; height: 22px; }
  .proof-quote .by b { font-size: 15px; display: block; }
  .proof-quote .by small { font-size: 13px; color: rgba(255,255,255,0.7); }
  .proof-stat { background: var(--tq); color: #fff; border-radius: var(--radius-xl); padding: 44px; display: flex; flex-direction: column; justify-content: center; }
  .proof-stat .big { font-size: clamp(3.2rem, 7vw, 4.6rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.95; }
  .proof-stat p { font-size: 17px; font-weight: 700; color: rgba(255,255,255,0.92); margin: 14px 0 0; text-wrap: pretty; }

  /* ── Zespół ──────────────────────────────────────────────── */
  .team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
  .member { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
  .member .ph {
    width: 96px; height: 96px; border-radius: var(--radius-lg); flex: none;
    background: var(--tq-light) repeating-linear-gradient(135deg, transparent 0 9px, rgba(43,179,163,0.10) 9px 18px);
    color: var(--tq-deep); display: grid; place-items: center; border: 1px solid var(--tq-ring);
  }
  .member .ph i { width: 38px; height: 38px; opacity: 0.55; }
  .member .ph-photo { width: 96px; height: 96px; border-radius: 18px; object-fit: cover; flex: none; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(15,40,70,.10); }
  .member h3 { font-size: 19px; font-weight: 800; margin: 0; }
  .member .role { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--tq-deep); margin: 5px 0 12px; }
  .member p { font-size: 14.5px; color: var(--ink-soft); margin: 0; line-height: 1.55; }
  .team-line { margin-top: 30px; text-align: center; font-size: 16px; color: var(--ink-soft); }
  .team-line b { color: var(--ink); font-weight: 800; }

  /* ── Migracja ────────────────────────────────────────────── */
  .migrate { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  .migrate-steps { display: flex; flex-direction: column; gap: 14px; }
  .mstep { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px; }
  .mstep .num { width: 34px; height: 34px; border-radius: 50%; background: var(--tq); color: #fff; font-weight: 800; font-size: 15px; display: grid; place-items: center; flex: none; }
  .mstep b { font-size: 15.5px; font-weight: 800; display: block; margin-bottom: 3px; }
  .mstep p { font-size: 14px; color: var(--ink-soft); margin: 0; }

  /* ── Świeżaki ────────────────────────────────────────────── */
  .fresh { background: linear-gradient(120deg, var(--tq-deep), var(--tq)); color: #fff; border-radius: var(--radius-xl); padding: 56px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; overflow: hidden; position: relative; }
  .fresh::before { content: ""; position: absolute; bottom: -140px; left: -80px; width: 380px; height: 380px; border-radius: 50%; background: rgba(255,255,255,0.10); }
  .fresh h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; margin: 16px 0 0; position: relative; text-wrap: balance; }
  .fresh p { color: rgba(255,255,255,0.9); font-size: 17px; margin: 16px 0 0; position: relative; text-wrap: pretty; }
  .fresh .eyebrow { background: rgba(255,255,255,0.18); color: #fff; }
  .fresh-card { background: #fff; border-radius: var(--radius-lg); padding: 26px; position: relative; box-shadow: var(--shadow-xl); }
  .fresh-card .step { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 14.5px; font-weight: 700; color: var(--ink); }
  .fresh-card .step:last-child { border-bottom: none; }
  .fresh-card .step i { width: 20px; height: 20px; color: var(--tq); flex: none; }
  .fresh .btn { position: relative; margin-top: 26px; background: #fff; color: var(--tq-deep); }
  .fresh .btn:hover { background: var(--cream); }

  /* ── FAQ ─────────────────────────────────────────────────── */
  .faq-list { max-width: 780px; margin: 44px auto 0; }
  details.faq { border-bottom: 1px solid var(--line); }
  details.faq summary { list-style: none; cursor: pointer; padding: 22px 4px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; }
  details.faq summary::-webkit-details-marker { display: none; }
  details.faq summary .chev { width: 34px; height: 34px; border-radius: 50%; background: var(--tq-50); color: var(--tq-deep); display: grid; place-items: center; flex: none; transition: transform .25s, background .2s; }
  details.faq summary .chev i { width: 18px; height: 18px; }
  details.faq[open] summary .chev { transform: rotate(45deg); background: var(--tq); color: #fff; }
  details.faq .ans { padding: 0 50px 24px 4px; font-size: 15.5px; color: var(--ink-soft); line-height: 1.6; text-wrap: pretty; }

  /* ── Final CTA ───────────────────────────────────────────── */
  .final { text-align: center; }
  .final h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; text-wrap: balance; }
  .final p { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); margin: 18px auto 0; max-width: 56ch; text-wrap: pretty; }
  .final .hero-actions { justify-content: center; }

  /* ── Footer ──────────────────────────────────────────────── */
  footer { background: var(--ink); color: rgba(255,255,255,0.72); padding: 64px 0 32px; }
  .foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr 1fr; gap: 36px; }  /* VETFL-734: brand + 5 kolumn (Dla kogo/Produkt/Aplikacje/Firma/Kontakt) — 6 od VETFL-749 */
  .foot-brand .brand b { color: #fff; }
  .foot-brand p { font-size: 14.5px; color: rgba(255,255,255,0.6); margin: 16px 0 0; max-width: 34ch; line-height: 1.6; }
  .foot-col h5 { color: rgba(255,255,255,0.5); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 800; margin: 0 0 16px; }
  .foot-col a { display: block; color: rgba(255,255,255,0.72); text-decoration: none; font-size: 14.5px; font-weight: 600; margin-bottom: 11px; transition: color .15s; }
  .foot-col a:hover { color: var(--tq); }
  .foot-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 48px; padding-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: 13.5px; color: rgba(255,255,255,0.5); }

  /* ── Live chat bubble ────────────────────────────────────── */
  .chat-fab { position: fixed; bottom: 26px; right: 26px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; pointer-events: none; }
  .chat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 30px 60px -24px rgba(20,40,38,0.4); width: 330px; padding: 20px; transform-origin: bottom right; transition: opacity .2s, transform .2s; pointer-events: auto; }
  .chat-card.hide { opacity: 0; transform: scale(0.9) translateY(8px); pointer-events: none; }
  .chat-card .ch-hd { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
  .chat-card .ch-av { width: 40px; height: 40px; border-radius: 50%; background: var(--tq); color: #fff; display: grid; place-items: center; flex: none; }
  .chat-card .ch-av i { width: 20px; height: 20px; }
  .chat-card .ch-hd b { font-size: 14.5px; font-weight: 800; display: block; }
  .chat-card .ch-hd small { font-size: 12px; color: var(--tq-deep); font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
  .chat-card .ch-hd small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--tq); }
  .chat-card p { font-size: 14px; color: var(--ink-soft); margin: 0 0 14px; line-height: 1.5; }
  .chat-card .ch-form { display: flex; flex-direction: column; gap: 8px; }
  .chat-card .ch-form input { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; font-family: inherit; color: var(--ink); }
  .chat-card .ch-form input:focus { outline: none; border-color: var(--tq); box-shadow: 0 0 0 3px var(--tq-ring); }
  .chat-card .ch-turnstile { min-height: 4px; }
  .chat-card .ch-form .btn { margin-top: 2px; }
  .chat-card .ch-status { font-size: 12.5px; color: var(--ink-soft); min-height: 16px; text-align: center; }
  .chat-card .ch-input { display: flex; gap: 8px; }
  .chat-card .ch-input input { flex: 1; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 9px 12px; font-family: var(--font-family); font-size: 14px; }
  .chat-card .ch-input input:focus { outline: none; border-color: var(--tq); box-shadow: var(--tq-ring) 0 0 0 3px; }
  .chat-card .ch-input button { background: var(--tq); border: none; color: #fff; border-radius: var(--radius-sm); width: 40px; display: grid; place-items: center; cursor: pointer; }
  .chat-card .ch-input button i { width: 18px; height: 18px; }
  .chat-toggle { width: 60px; height: 60px; border-radius: 50%; background: var(--tq); color: #fff; border: none; cursor: pointer; display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(43,179,163,0.7); transition: transform .2s, background .2s; pointer-events: auto; }
  .chat-toggle:hover { transform: scale(1.06); background: var(--tq-dark); }
  .chat-toggle i { width: 26px; height: 26px; }
  .chat-toggle .pulse { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(43,179,163,0.5); animation: none; }
  @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(43,179,163,0.45); } 70% { box-shadow: 0 0 0 16px rgba(43,179,163,0); } 100% { box-shadow: 0 0 0 0 rgba(43,179,163,0); } }

  /* ── Scroll reveal ───────────────────────────────────────── */
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal[data-d="1"] { transition-delay: .08s; }
  .reveal[data-d="2"] { transition-delay: .16s; }
  .reveal[data-d="3"] { transition-delay: .24s; }
  .reveal[data-d="4"] { transition-delay: .32s; }
  .reveal[data-d="5"] { transition-delay: .4s; }

  /* ── Responsive ──────────────────────────────────────────── */
  @media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .mock { max-width: 460px; }
    .mock-chip { left: auto; right: 12px; }
    .pain-grid, .feat-grid { grid-template-columns: repeat(2, 1fr); }
    .price-grid { grid-template-columns: repeat(2, 1fr); }
    .proof, .migrate, .team-grid, .foot-grid { grid-template-columns: 1fr; }
    .fresh { grid-template-columns: 1fr; padding: 40px; }
    .nav-links, .nav-signin { display: none; }
    /* pozycja logowania pokazuje się DOPIERO w rozwiniętym menu (niżej), na
       komputerze jest zbędna, bo tam widać osobny link „Zaloguj się" */
    .nav-login-mobile a { color: var(--tq-deep) !important; font-weight: 800 !important; }
    .menu-btn { display: block; }
    #nav.open .nav-in { position: relative; }
    #nav.open .nav-links {
      display: flex; flex-direction: column; gap: 0;
      position: absolute; top: calc(100% + 1px); left: 0; right: 0;
      background: #fff; border-top: 1px solid var(--line);
      box-shadow: 0 16px 32px rgba(0,0,0,.10); padding: 8px 20px 14px; z-index: 60;
    }
    #nav.open .nav-links a { padding: 13px 4px; font-size: 16px; border-bottom: 1px solid var(--line-soft); }
    #nav.open .nav-login-mobile { display: block; }
    .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .foot-brand { grid-column: 1 / -1; }
  }
  @media (max-width: 600px) {
    body { font-size: 16px; }
    .pad { padding: 64px 0; }
    .pain-grid, .feat-grid, .price-grid { grid-template-columns: 1fr; }
    .member { flex-direction: column; gap: 16px; }
    .custom-bar { flex-direction: column; align-items: flex-start; }
    .proof-quote, .proof-stat, .fresh { padding: 32px; }
    .menu-btn { display: block; }
    .nav-cta .btn-soft { display: none; }
    .chat-card { width: calc(100vw - 52px); }

    /* ── Fix: góra strony ucinała się na telefonach ─────────────────────
       Objaw (zgłoszenie Sebastiana, screenshot 2026-07-19): nagłówek, podtytuł
       i przyciski hero ucięte z prawej, a CTA w pasku nachodził na logo.

       Przyczyna: `.btn` ma `white-space: nowrap`, więc długa etykieta („Masz
       kilka placówek albo pracujesz w terenie? Porozmawiajmy") NIGDY się nie
       zawijała i rozpychała całą siatkę szerzej niż ekran. To samo robiła
       plakietka `.eyebrow` (inline-flex nie kurczy się poniżej treści).
       `overflow-x: hidden` na body nie naprawiał tego — tylko PRZYCINAŁ
       wystającą treść, przez co wyglądało to na obcięty tekst.
       W pasku górnym `.brand` nie miał `min-width: 0`, więc zamiast się
       skurczyć, wchodził pod przycisk CTA. */
    .btn { white-space: normal; text-align: center; max-width: 100%; }
    /* mniejszy krój + luźniejsze zawijanie, żeby ikonka nie zostawała sama w linii */
    .eyebrow { flex-wrap: wrap; max-width: 100%; font-size: 11.5px;
               letter-spacing: 0; padding: 6px 11px; line-height: 1.45; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }
    .brand { min-width: 0; flex-shrink: 1; }
    .brand b { font-size: 18px; }
    .nav-cta { flex: none; }
    .nav-cta .btn { padding: 9px 14px; font-size: 14px; }
    .hero { padding: 48px 0 32px; }

    /* ── Tabela porównawcza jako KARTY (zgłoszenie Sebastiana 2026-07-19) ──
       Tabela ma min-width:640px i własne przewijanie poziome, więc na telefonie
       kolumna „Inni" była poza ekranem, a nic nie sygnalizowało, że da się
       przesunąć. Na stronie sprzedażowej to zabija przekaz, bo porównanie
       z konkurencją JEST tu treścią — nie ozdobą. Zamiast przewijania: każdy
       wiersz staje się kartą z obiema wartościami jedna pod drugą. */
    .vs-scroll { overflow-x: visible; margin-top: 32px; }
    .vs-table { min-width: 0; display: block; }
    /* CodeAnt: nie `display:none` — to usuwa nagłówki z drzewa dostępności
       i czytnik ekranu traci kontekst kolumn. Ukrywamy WIZUALNIE. */
    .vs-table thead {
      position: absolute; width: 1px; height: 1px; overflow: hidden;
      clip-path: inset(50%); white-space: nowrap;
    }
    .vs-table tbody { display: block; }
    .vs-table tbody tr {
      display: block; background: #fff; border: 1px solid var(--line);
      border-radius: var(--radius); padding: 14px 16px; margin-bottom: 12px;
    }
    .vs-table tbody td { display: block; border: none; padding: 6px 0; font-size: 15px; }
    .vs-table tbody td.feat-col {
      width: auto; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.04em;
      color: var(--ink-soft); padding-bottom: 8px; border-bottom: 1px solid var(--line-soft);
      margin-bottom: 6px;
    }
    .vs-table tbody td[data-col]::before {
      content: attr(data-col); display: block; font-size: 11.5px; font-weight: 800;
      text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-soft); margin-bottom: 3px;
    }
    .vs-table tbody td.us-col::before { color: var(--tq-deep); }
    .vs-table tbody td.vs-col-us { background: var(--tq-50); border-radius: 10px; padding: 8px 10px; }
    .vs-table tbody tr:last-child .vs-col-us { border-radius: 10px; }
    .hero-trust { gap: 10px 18px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
    .chat-toggle .pulse { animation: none; }
    html { scroll-behavior: auto; }
  }
