/* UZYTAK CV page: additions on top of photopack.css (pp- classes). Prefix cv-. */
.cv-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: center; }
.cv-hero-grid > * { min-width: 0; }
.cv-app { display: flex; align-items: center; gap: 12px; }
.cv-app img { width: 48px; height: 48px; border-radius: 12px; flex: none; }
.cv-app .pp-eyebrow { margin: 0; }
.cv-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.cv-cta .pp-buy { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; }
.cv-cta .cv-play { background: var(--pp-blue); }
.cv-cta .cv-secondary { background: #fff; color: var(--pp-navy); border: 1px solid var(--pp-line); }
.cv-play svg { width: 18px; height: 18px; flex: none; }
.cv-note { margin: 12px 0 0; font-size: 14px; color: var(--pp-muted); }
.cv-phone { margin: 0; justify-self: center; width: 100%; max-width: 320px; }
/* Store shots are already framed: no extra phone border, just rounded corners and a shadow. */
.cv-phone img, .cv-shot img { display: block; width: 100%; height: auto; border-radius: 22px; background: var(--pp-navy); box-shadow: 0 30px 60px -30px rgba(11, 21, 51, .55); }

/* Screenshot strip: scrolls inside itself on small screens, never the page. */
.cv-shots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.cv-shot { margin: 0; }
.cv-shot figcaption { margin-top: 14px; }
.cv-shot strong { display: block; font-size: 16px; color: var(--pp-ink); }
.cv-shot span { display: block; color: var(--pp-muted); line-height: 1.5; font-size: 14px; margin-top: 4px; }
.cv-shots-note { font-size: 13px !important; margin-top: 18px; }

/* Formats by country. */
.cv-formats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 18px; margin-top: 28px; }
.cv-format-card { border-top: 4px solid var(--pp-teal); }
.cv-flag { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 32px; padding: 0 8px; border-radius: 8px; background: var(--pp-navy); color: #fff; font-weight: 800; font-size: 15px; letter-spacing: .04em; }

.cv-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 18px; margin-top: 28px; }
.cv-features .pp-card { border-top: 4px solid #f0a64b; }

/* Foreigners in Poland (ru, uk pages): a highlighted panel with cards. */
.cv-foreign { border: 1px solid var(--pp-line); border-radius: 22px; padding: 28px; background: linear-gradient(135deg, rgba(79, 134, 247, .08), rgba(24, 184, 181, .08)); }
.cv-foreign h2 { margin-top: 0; }
.cv-foreign > p { margin: 10px 0 20px; }
.cv-foreign-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.cv-foreign-grid .pp-card { border-top: 4px solid var(--pp-blue); }

/* Sample PDF section: text + a real PDF page on paper. */
.cv-labels { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.cv-labels > * { min-width: 0; }
.cv-labels ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.cv-labels li { position: relative; padding-left: 30px; color: #e6ecf8; font-size: 17px; line-height: 1.5; }
.cv-labels li::before { content: "✓"; position: absolute; left: 0; color: var(--pp-teal); font-weight: 800; }
.cv-labels p { color: #c5d0e6; font-size: 18px; line-height: 1.55; margin: 0; }
.cv-labels .cv-pro { margin-top: 18px; display: inline-block; }
.cv-paper { margin: 0; max-width: 560px; justify-self: center; width: 100%; }
.cv-paper img { display: block; width: 100%; height: auto; background: #fff; border-radius: 10px; padding: 10px; box-sizing: border-box; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.cv-paper figcaption { margin-top: 12px; font-size: 14px; color: #c5d0e6; }
.cv-paper figcaption a { color: #fff; text-decoration: underline; }

/* Honest limits. */
.cv-limits { margin: 24px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 12px 28px; }
.cv-limits li { position: relative; padding-left: 28px; line-height: 1.55; color: var(--pp-ink); }
.cv-limits li::before { content: "—"; position: absolute; left: 0; color: var(--pp-muted); font-weight: 700; }
.cv-limits-note { font-size: 14px !important; color: var(--pp-muted); margin-top: 18px; }
.cv-credits { font-size: 13px; color: var(--pp-muted); margin-top: 22px; }

/* Long compound words (German, Dutch…) must wrap instead of widening the page on phones. */
main h1, main h2, main h3 { overflow-wrap: break-word; hyphens: auto; }

@media (max-width: 1080px) {
  .cv-shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 10px; -webkit-overflow-scrolling: touch; }
  .cv-shot { flex: 0 0 30%; scroll-snap-align: start; }
}
@media (max-width: 860px) {
  .cv-hero-grid, .cv-labels { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .cv-phone { max-width: 260px; }
  .cv-shot { flex: 0 0 62%; }
  .cv-paper img { padding: 4px; border-radius: 6px; }
}
@media (max-width: 640px) {
  .cv-cta .pp-buy { flex: 1 1 100%; }
  .cv-foreign { padding: 18px; }
  .pp-table th, .pp-table td { padding: 10px; font-size: 14px; }
}
