/* ============================================
   KnVnet – doplňkové styly pro podstránky
   (rozšiřuje style.css z návrhu, nic v něm nepřepisuje)
   ============================================ */
.nav-menu a.active { color: var(--red); background: rgba(180,19,29,0.06); }

/* Kompaktní hero pro podstránky */
.hero.hero--page { min-height: 0; padding: 150px 0 70px; }
.hero--page h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.hero--page .hero-subtitle { margin-bottom: 0; }
.breadcrumb { color: var(--gray-400); font-size: 0.85rem; margin-bottom: 18px; position: relative; z-index: 2; }
.breadcrumb a { color: var(--gray-300); }
.breadcrumb a:hover { color: var(--white); }

.section--tight { padding: 70px 0; }
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.7rem; margin: 40px 0 14px; letter-spacing: -0.5px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin: 26px 0 8px; }
.prose p, .prose ul { margin-bottom: 14px; line-height: 1.75; }
.prose ul { padding-left: 22px; }
.prose img { border-radius: var(--radius); margin: 18px 0; }
.img-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin: 18px 0; }
.img-row img { margin: 0; max-height: 90px; width: auto; }

/* Detail tarifu */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1.25fr; gap: 24px; align-items: stretch; }
.detail-grid.detail-grid--3 { grid-template-columns: repeat(3, 1fr); }
.detail-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 28px 24px; }
.detail-card h3 { font-size: 1.35rem; margin-bottom: 8px; color: var(--dark); }
.detail-card p { color: var(--gray-500); line-height: 1.65; }
.detail-card--blue h3 { color: var(--blue-dark); }
.detail-card--green h3 { color: var(--green-dark); }
.detail-card--orange h3 { color: var(--orange-dark); }
.price-table { background: var(--dark); color: var(--white); border-radius: var(--radius-lg); padding: 28px 24px; display: flex; flex-direction: column; }
.price-table table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.price-table td { padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 0.95rem; }
.price-table td:last-child { text-align: right; white-space: nowrap; font-weight: 600; }
.price-table td { white-space: nowrap; }
.price-table td:first-child { padding-right: 12px; }
.price-table tr.strong td { font-weight: 700; }
.price-table tr.total td { border-bottom: 0; padding-top: 14px; font-size: 1.25rem; font-weight: 800; color: var(--yellow); }
.price-table .note { font-size: 0.85rem; color: var(--gray-400); margin: -10px 0 16px; text-align: right; }
.price-table .btn { margin-top: auto; }

/* Záložky (doplňkové balíčky / kanály / dokumenty) – bez JS přes :target není potřeba, používáme <details> */
.tabs { margin-top: 50px; display: grid; gap: 16px; }
.tabs details { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; }
.tabs summary { cursor: pointer; padding: 20px 26px; font-weight: 700; font-size: 1.1rem; color: var(--dark); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.tabs summary::-webkit-details-marker { display: none; }
.tabs summary::after { content: '+'; font-size: 1.5rem; color: var(--red); line-height: 1; }
.tabs details[open] summary::after { content: '–'; }
.tabs .tab-body { padding: 0 26px 26px; }
.addon { margin-top: 22px; }
.addon:first-child { margin-top: 0; }
.addon h4 { font-size: 1rem; margin-bottom: 12px; color: var(--gray-700); }
.addon h4 span { color: var(--red); white-space: nowrap; }

.channel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.channel { background: var(--gray-50); border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 12px 8px; text-align: center; font-size: 0.82rem; font-weight: 500; color: var(--gray-700); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 64px; }
.channel img { max-height: 40px; width: auto; }
.channel .ch-no { color: var(--gray-400); font-weight: 600; margin-right: 2px; }

/* Tabulky ceníku a pokrytí */
.data-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); }
.data-table th, .data-table td { padding: 12px 18px; text-align: left; border-bottom: 1px solid var(--gray-100); }
.data-table th { background: var(--gray-50); font-weight: 600; color: var(--dark); }
.data-table td:last-child { text-align: right; white-space: nowrap; font-weight: 600; }
.data-table tr:last-child td { border-bottom: 0; }
.small-note { color: var(--gray-500); font-size: 0.9rem; margin-top: 12px; }

.hours { list-style: none; padding: 0; }
.hours li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--gray-200); }
.hours li:last-child { border-bottom: 0; }
.contact-card .kv { font-size: 0.92rem; color: var(--gray-500); margin-bottom: 8px; }
.contact-card .kv span { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--gray-400, #9ca3af); }
.hero-stats .stat { white-space: nowrap; }
.hero-stats .stat-number { display: inline-block; }
.map-img { border-radius: var(--radius-lg); border: 1px solid var(--gray-200); margin-top: 40px; width: 100%; }

.coverage h3 { margin-top: 30px; }
.coverage p { line-height: 1.8; }

.downloads-grid--wide { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.operator-note { text-align: center; color: var(--gray-500); font-size: 0.85rem; margin-top: 26px; }

.promo-steps { counter-reset: s; list-style: none; padding: 0; }
.promo-steps li { position: relative; padding-left: 46px; margin-bottom: 18px; }
.promo-steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }

.notfound { text-align: center; }
.notfound .big { font-size: clamp(4rem, 12vw, 8rem); font-weight: 900; color: var(--red); line-height: 1; }

@media (max-width: 1024px) {
    .detail-grid, .detail-grid.detail-grid--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .detail-grid, .detail-grid.detail-grid--3 { grid-template-columns: 1fr; }
    .hero.hero--page { padding: 120px 0 50px; }
    .data-table th, .data-table td { padding: 10px 12px; font-size: 0.9rem; }
    .price-table { padding: 24px 16px; }
    .price-table td { font-size: 0.875rem; }
    .price-table tr.total td { font-size: 1.15rem; }
}

/* --- objednávkový formulář --- */
.order-wrap { max-width: 820px; margin: 0 auto; }
.order-form { margin-top: 24px; background: var(--white, #fff); border: 1px solid var(--gray-200, #e5e7eb); border-radius: 16px; padding: 28px; box-shadow: 0 4px 20px rgba(0,0,0,.05); }
.order-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.order-form .form-row { margin-bottom: 18px; }
.order-form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.order-form input[type=text], .order-form input[type=email], .order-form input[type=tel], .order-form select, .order-form textarea {
    width: 100%; box-sizing: border-box; font: inherit; padding: 11px 14px; border: 1px solid var(--gray-300, #d1d5db); border-radius: 10px; background: #fff; }
.order-form input:focus, .order-form select:focus, .order-form textarea:focus { outline: none; border-color: var(--red, #c8102e); box-shadow: 0 0 0 3px rgba(200,16,46,.12); }
.order-form [aria-invalid=true] { border-color: #dc2626; }
.order-form .form-check label { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; }
.order-form .form-check input { margin-top: 4px; flex: none; }
.order-form .form-error { display: block; color: #dc2626; font-size: .82rem; margin-top: 4px; min-height: 0; }
.order-form .form-error:empty { display: none; }
.order-form .form-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.order-alert { border-radius: 12px; padding: 14px 18px; margin: 18px 0; }
.order-alert p { margin: 0; }
.order-alert--success { background: #ecfdf5; border: 1px solid #10b981; color: #065f46; }
.order-alert--error { background: #fef2f2; border: 1px solid #f87171; color: #991b1b; }
.order-alert--info { background: #eff6ff; border: 1px solid #93c5fd; color: #1e3a8a; }
@media (max-width: 640px) { .order-form { padding: 20px; } .order-form .form-grid { grid-template-columns: 1fr; } }
.package-bottom .btn-block + .btn-block { margin-top: 8px; }
.nav-btn { white-space: nowrap; }
.btn-block + .btn-block { margin-top: 8px; }
