/* Nabídka pro podniky: na mobilu k ukázání, vytištěná jako A4 leták */

.offer-header { border-bottom: 1px solid var(--line); }
.offer-header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.offer-hero { padding-block: clamp(48px, 9vw, 112px) clamp(40px, 6vw, 72px); }
.offer-hero h1 { font-size: clamp(2.5rem, 6.4vw, 5.6rem); line-height: .98; letter-spacing: -.05em; max-width: 14ch; margin: 22px 0 26px; }
.offer-lead { max-width: 56ch; color: var(--text-2); font-size: clamp(1.05rem, 1.4vw, 1.2rem); }

.offer-block { position: relative; padding-block: clamp(40px, 6vw, 72px); }
.offer-block::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line-strong); }
.offer-h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); margin-bottom: clamp(24px, 3vw, 36px); }

/* Problém → řešení */
.offer-problems { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 16px; }
.offer-problems li { padding: 24px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.offer-q { font-family: var(--mono); font-size: .95rem; font-weight: 500; line-height: 1.45; color: var(--accent-ink); margin-bottom: 14px; }
.offer-problems h3 { font-size: 1.25rem; letter-spacing: -.025em; margin-bottom: 8px; }
.offer-problems p:not(.offer-q) { color: var(--text-2); font-size: 15.5px; }

/* Ukázky */
.offer-demos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.offer-demo {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 18px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.offer-demo:active { transform: scale(.99); }
.offer-shot { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--paper-3); }
.offer-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1s var(--ease); }
.offer-demo-text { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; }
.offer-demo-text .project-kicker { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.offer-demo h3 { font-size: 1.4rem; letter-spacing: -.03em; margin-bottom: 8px; transition: color .25s; }
.offer-demo-text > p:not(.project-kicker) { color: var(--text-2); font-size: 15.5px; margin-bottom: 18px; }
.offer-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.offer-link::after { content: "↗"; transition: transform .3s var(--ease); }
.print-url { display: none; }
.offer-note { margin-top: auto; font-family: var(--mono); font-size: 13px; color: var(--muted); }
@media (hover: hover) {
  .offer-demo:hover { box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow); transform: translateY(-3px); }
  .offer-demo:hover .offer-shot img { transform: scale(1.03); }
  .offer-demo:hover h3 { color: var(--accent-ink); }
  .offer-demo:hover .offer-link::after { transform: translate(2px, -2px); }
}
.offer-demo:focus-visible { outline-offset: 4px; border-radius: 18px; }

/* Postup + proč */
.offer-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.offer-steps { list-style: none; counter-reset: s; display: grid; gap: 22px; }
.offer-steps li { counter-increment: s; position: relative; padding-left: 52px; }
.offer-steps li::before {
  content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 2px;
  display: grid; place-items: center; height: 28px; padding: 0 8px; border-radius: 7px;
  background: var(--ink); color: var(--on-ink); font-family: var(--mono); font-size: 12px;
}
.offer-steps li:last-child::before { background: var(--accent); color: #fff; }
.offer-steps h3 { font-size: 1.15rem; letter-spacing: -.02em; margin-bottom: 4px; }
.offer-steps p { color: var(--text-2); font-size: 15.5px; }
.offer-why { list-style: none; display: grid; gap: 16px; }
.offer-why li { position: relative; padding-left: 26px; color: var(--text-2); }
.offer-why li::before { content: "✳"; position: absolute; left: 0; color: var(--em); }
.offer-why strong { color: var(--ink); font-weight: 600; }

/* Kontakt */
.offer-contact { margin-top: clamp(40px, 6vw, 72px); background: var(--ink); color: var(--on-ink); padding-block: clamp(56px, 8vw, 96px); }
.offer-contact-inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.offer-contact h2 { font-size: clamp(2.2rem, 5.4vw, 4.4rem); letter-spacing: -.045em; margin-bottom: 28px; }
.offer-contact em { color: var(--accent-on-ink); }
.offer-contact .contact-mail:hover { color: var(--accent-on-ink); }
.offer-contact :focus-visible { outline-color: var(--accent-on-ink); }
.offer-contact-meta { margin-top: 18px; font-family: var(--mono); font-size: 13px; color: var(--on-ink-muted); }
.offer-contact-meta a { text-decoration: underline; text-underline-offset: 3px; }
.offer-qr { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.offer-qr img { width: 132px; height: 132px; padding: 12px; border-radius: 12px; background: #fff; }
.offer-qr figcaption { font-family: var(--mono); font-size: 12px; color: var(--on-ink-muted); }

@media (max-width: 820px) {
  .offer-demos, .offer-split { grid-template-columns: 1fr; }
  .offer-qr { display: none; }
}

/* ---------- TISK: A4 leták ---------- */
@page { size: A4; margin: 12mm; }
@media print {
  :root { --gutter: 0px; }
  html, body { background: #fff !important; font-size: 11pt; }
  body::before, .no-print, .skip-link { display: none !important; }
  * { box-shadow: none !important; transition: none !important; animation: none !important; }
  .offer-header { border: 0; }
  .offer-header-inner { height: auto; padding-bottom: 6mm; }
  .offer-hero { padding: 2mm 0 6mm; }
  .offer-hero h1 { font-size: 30pt; margin: 3mm 0 4mm; }
  .offer-lead { font-size: 11.5pt; }
  .offer-block { padding-block: 5mm; break-inside: avoid; }
  .offer-h2 { font-size: 16pt; margin-bottom: 4mm; }
  .offer-problems { grid-template-columns: repeat(3, 1fr); gap: 3mm; }
  .offer-problems li { padding: 3.5mm; border: 1px solid #ddd; background: #fff; break-inside: avoid; }
  .offer-q { font-size: 11pt; margin-bottom: 2mm; }
  .offer-problems h3 { font-size: 11.5pt; margin-bottom: 1mm; }
  .offer-problems p:not(.offer-q), .offer-steps p, .offer-demo-text > p:not(.project-kicker) { font-size: 9.5pt; }
  .offer-demos { grid-template-columns: 1fr 1fr; gap: 4mm; }
  .offer-demo { border: 1px solid #ddd; background: #fff; break-inside: avoid; }
  .offer-shot { aspect-ratio: 16 / 7; }
  .offer-demo-text { padding: 3mm 4mm 4mm; }
  .offer-demo h3 { font-size: 12pt; margin-bottom: 1mm; }
  .offer-link::after { content: none; }
  .offer-link { display: block; }
  .print-url { display: block; margin-top: 1mm; font-family: var(--mono); font-size: 8.5pt; font-weight: 400; color: #555; }
  .offer-split { grid-template-columns: 1fr 1fr; gap: 8mm; }
  .offer-steps { gap: 2.5mm; }
  .offer-why { gap: 2mm; font-size: 10pt; }
  .offer-contact { margin-top: 4mm; padding-block: 6mm; break-inside: avoid; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .offer-contact-inner { padding-inline: 6mm; flex-wrap: nowrap; align-items: center; }
  .offer-contact h2 { font-size: 22pt; margin-bottom: 3mm; }
  .contact-mail { font-size: 15pt; }
  .contact-mail::after { display: none; }
  .offer-qr { display: flex !important; }
  .offer-qr img { width: 30mm; height: 30mm; padding: 2mm; }
}
