/**
 * Služba – Televize po internetu (template-iptv.php)
 * Doplňkový stylesheet k main.css webu Coprosys
 */

.tvp {
  --red: #cf1008;
  --red-light: #e3140c;
  --red-dark: #b30c05;
  --red-soft: #fdeeee;
  --ink: #0d0d0d;
  --muted: #5d5d5d;
  --line: #e9e9e9;
  --grey: #f4f4f5;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .06);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .12);
  color: var(--ink);
  overflow-x: clip;
}

/* =========================================================
   SPOLEČNÉ
   ========================================================= */
.tvp-eyebrow {
  display: block;
  margin-bottom: 14px;
  font-family: 'Readex Pro', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
}
.tvp-h2 {
  font-family: 'Exo', sans-serif;
  font-size: clamp(30px, 3.4vw, 50px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 0 0 14px;
}
.tvp-h2 span {
  color: var(--red);
}
.tvp-sub {
  max-width: 820px;
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}
.tvp-head {
  margin-bottom: 48px;
}

/* ---------- Tlačítka ---------- */
.tvp-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.tvp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 15px 28px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-family: 'Readex Pro', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.tvp-btn i {
  transition: transform .3s ease;
}
.tvp-btn:hover,
.tvp-btn:focus-visible {
  text-decoration: none;
  transform: translateY(-2px);
}
.tvp-btn:hover .bi-arrow-right {
  transform: translateX(4px);
}
.tvp-btn:focus-visible {
  outline: 3px solid rgba(207, 16, 8, .35);
  outline-offset: 3px;
}
.tvp-btn--red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 24px rgba(207, 16, 8, .28);
}
.tvp-btn--red:hover,
.tvp-btn--red:focus-visible {
  background: #000;
  color: #fff;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .22);
}
.tvp-btn--outline {
  border-color: var(--red);
  background: #fff;
  color: var(--red);
}
.tvp-btn--outline:hover,
.tvp-btn--outline:focus-visible {
  background: var(--red);
  color: #fff;
}
.tvp-btn--sm {
  width: 100%;
  padding: 10px 14px;
  font-size: 13.5px;
}

/* =========================================================
   HERO
   ========================================================= */
.tvp-hero {
  position: relative;
  padding: 170px 0 110px;
  background:
    radial-gradient(circle at 92% 10%, #fdecea 0, rgba(253, 236, 234, 0) 38%),
    linear-gradient(180deg, #fff 0%, #fbf8f6 100%);
}
.tvp-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 56px;
}
.tvp-hero__title {
  font-family: 'Exo', sans-serif;
  font-size: clamp(38px, 4vw, 64px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.025em;
  color: var(--ink);
  margin: 0 0 24px;
}
.tvp-hero__title span {
  display: block;
  color: var(--red);
}
.tvp-hero__lead {
  max-width: 560px;
  margin: 0 0 36px;
  font-size: 19px;
  line-height: 1.6;
  color: #333;
}

.tvp-hero__media {
  position: relative;
  padding-right: 90px;
}
.tvp-hero__photo {
  overflow: hidden;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
}
.tvp-hero__photo picture {
  display: block;
  height: 100%;
}
.tvp-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tvp-chips {
  position: absolute;
  top: 50%;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  transform: translateY(-50%);
}
.tvp-chips li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
  font-family: 'Readex Pro', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #000;
}
.tvp-chips i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--red-soft);
  font-size: 19px;
  color: var(--red);
}

/* =========================================================
   BALÍČKY (šedé pozadí)
   ========================================================= */
.tvp-packs {
  padding: 110px 0;
  background: var(--grey);
}
.tvp-packs__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
}
.tvp-pack {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 26px 28px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.tvp-pack:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, .1);
}
.tvp-pack--featured {
  border-color: var(--red);
  box-shadow: 0 22px 50px rgba(207, 16, 8, .18);
}
.tvp-pack__badge {
  position: absolute;
  top: -15px;
  left: 50%;
  padding: 6px 16px;
  border-radius: 20px;
  background: var(--red);
  font-family: 'Readex Pro', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  color: #fff;
  transform: translateX(-50%);
}
.tvp-pack__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.tvp-pack__name {
  font-family: 'Exo', sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
}
.tvp-pack__icon {
  font-size: 24px;
  color: var(--red);
}
.tvp-pack__sub {
  margin: 4px 0 20px;
  font-size: 14.5px;
  color: var(--muted);
}
.tvp-pack__price {
  margin: 0 0 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid #f0f0f0;
  color: #777;
}
.tvp-pack__price strong {
  font-family: 'Exo', sans-serif;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--red);
}
.tvp-pack__price span {
  font-size: 15px;
}
.tvp-pack__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.tvp-pack__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.4;
  color: #222;
}
.tvp-pack__list i {
  flex: 0 0 auto;
  margin-top: 1px;
  font-size: 17px;
  color: var(--red);
}
/* tlačítka balíčků: barvy zůstávají, na najetí zezelenají */
.tvp-pack .tvp-pack__btn:hover,
.tvp-pack .tvp-pack__btn:focus-visible {
  border-color: #1f9d4c;
  background: #1f9d4c;
  color: #fff;
  box-shadow: 0 0 0 5px rgba(31, 157, 76, .14), 0 12px 26px rgba(31, 157, 76, .3);
}
.tvp-pack__btn {
  width: 100%;
  margin-top: auto;
  padding: 14px 16px;
}

/* =========================================================
   DOPLŇKY (bílé pozadí)
   ========================================================= */
.tvp-addons {
  padding: 110px 0;
  background: #fff;
}
.tvp-addons__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}
.tvp-addon {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.tvp-addon:hover {
  transform: translateY(-6px);
  border-color: #f3c9c7;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .09);
}
.tvp-addon__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--grey);
}
.tvp-addon__media picture {
  display: block;
  height: 100%;
}
.tvp-addon__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.tvp-addon:hover .tvp-addon__img {
  transform: scale(1.06);
}
.tvp-addon__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 22px 20px 20px;
}
.tvp-addon__icon {
  margin-bottom: 10px;
  font-size: 26px;
  line-height: 1;
  color: var(--red);
}
.tvp-addon__name {
  font-family: 'Exo', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 6px;
}
.tvp-addon__text {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.tvp-addon__price {
  margin: auto 0 16px;
  font-size: 14px;
  color: #777;
}
.tvp-addon__price strong {
  font-family: 'Exo', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--red);
}

/* =========================================================
   JAK TO FUNGUJE + PROČ (šedé pozadí)
   ========================================================= */
.tvp-how {
  padding: 110px 0;
  background: var(--grey);
}
.tvp-how__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: start;
  gap: 60px;
}
.tvp-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}
.tvp-step {
  position: relative;
}
/* šipka mezi kroky */
.tvp-step:not(:last-child)::after {
  content: "\2192";
  position: absolute;
  top: 26px;
  right: -32px;
  font-size: 26px;
  line-height: 1;
  color: var(--red);
}
.tvp-step__visual {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.tvp-step__num {
  display: flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  font-family: 'Readex Pro', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.tvp-step__icon {
  font-size: 52px;
  line-height: 1;
  color: var(--red);
}
.tvp-step h3 {
  font-family: 'Exo', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}
.tvp-step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.tvp-why {
  padding: 36px 34px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.tvp-why__title {
  font-family: 'Exo', sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 20px;
}
.tvp-why__title span {
  color: var(--red);
}
.tvp-why__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.tvp-why__list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid #f0f0f0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.tvp-why__list li:first-child {
  border-top: 0;
}
.tvp-why__list strong {
  display: block;
  font-family: 'Exo', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.tvp-why__icon {
  display: flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--red-soft);
  font-size: 19px;
  color: var(--red);
}

/* =========================================================
   STREAMOVACÍ SLUŽBY (bílé pozadí)
   ========================================================= */
.tvp-stream {
  padding: 110px 0;
  background: #fff;
}
.tvp-stream__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: 60px;
}
.tvp-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 34px 0 18px;
  padding: 0;
  list-style: none;
}
.tvp-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 92px;
  padding: 16px 20px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.tvp-logo:hover,
.tvp-logo:focus-visible {
  border-color: var(--red);
  color: var(--ink);
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .08);
}
.tvp-logo__img {
  max-width: 100%;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.tvp-logo__text {
  font-family: 'Readex Pro', sans-serif;
  font-size: 22px;
  font-weight: 700;
}
.tvp-logo__ext {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 12px;
  color: #b0b0b0;
  transition: color .25s ease;
}
.tvp-logo:hover .tvp-logo__ext {
  color: var(--red);
}
.tvp-stream__note {
  margin: 0;
  font-size: 13px;
  color: #8a8a8a;
}
.tvp-stream__media {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 11;
}
.tvp-stream__media picture {
  display: block;
  height: 100%;
}
.tvp-stream__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================================
   ZÁVĚREČNÉ CTA (šedé pozadí)
   ========================================================= */
.tvp-final {
  padding: 100px 0 110px;
  background: var(--grey);
  border-top: 1px solid #ececec;
}
.tvp-final__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: 60px;
}
.tvp-final .tvp-sub {
  margin-bottom: 34px;
}
.tvp-btn--call {
  gap: 14px;
  padding: 10px 26px 10px 22px;
  text-align: left;
}
.tvp-btn--call i {
  font-size: 22px;
}
.tvp-btn--call span {
  display: flex;
  flex-direction: column;
  font-size: 19px;
  line-height: 1.15;
}
.tvp-btn--call small {
  font-size: 12.5px;
  font-weight: 500;
  opacity: .85;
}

.tvp-perks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tvp-perks li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.tvp-perks__icon {
  margin-bottom: 6px;
  font-size: 32px;
  line-height: 1;
  color: var(--red);
}
.tvp-perks strong {
  font-family: 'Exo', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

/* =========================================================
   RESPONZIVITA
   ========================================================= */
@media (max-width: 1399px) {
  .tvp-pack { padding: 30px 20px 24px; }
  .tvp-pack__price strong { font-size: 34px; }
  .tvp-addons__grid { gap: 16px; }
  .tvp-addon__body { padding: 18px 16px 16px; }
}

@media (max-width: 1199px) {
  .tvp-hero { padding: 140px 0 90px; }
  .tvp-hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .tvp-hero__content { max-width: 720px; }

  .tvp-packs__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 34px; }
  .tvp-addons__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .tvp-how__grid,
  .tvp-stream__grid,
  .tvp-final__grid { grid-template-columns: 1fr; gap: 48px; }
  .tvp-stream__media { max-width: 760px; }
}

@media (max-width: 991px) {
  .tvp-packs,
  .tvp-addons,
  .tvp-how,
  .tvp-stream { padding: 80px 0; }
  .tvp-final { padding: 80px 0; }
  .tvp-head { margin-bottom: 36px; }

  .tvp-hero__media { padding-right: 0; }
  .tvp-chips {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
    transform: none;
  }
  .tvp-chips li { min-width: 0; }

  .tvp-packs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .tvp-steps { gap: 30px; }
  .tvp-step:not(:last-child)::after { right: -24px; }
}

@media (max-width: 767px) {
  .tvp-sub { font-size: 16.5px; }
  .tvp-hero__lead { font-size: 17px; }
  .tvp-addons__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .tvp-addon__name { font-size: 16px; }
  .tvp-addon__text { font-size: 13px; }

  .tvp-steps { grid-template-columns: 1fr; gap: 26px; margin-top: 30px; }
  .tvp-step:not(:last-child)::after { display: none; }
  .tvp-step { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; }
  .tvp-step__visual { grid-row: 1 / 3; flex-direction: column; margin: 0; }
  .tvp-step__icon { font-size: 34px; }

  .tvp-why { padding: 28px 22px; }

  .tvp-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tvp-perks { grid-template-columns: 1fr; gap: 20px; }
  .tvp-perks li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; }
  .tvp-perks__icon { grid-row: 1 / 3; margin: 0; }
}

@media (max-width: 575px) {
  .tvp-packs,
  .tvp-addons,
  .tvp-how,
  .tvp-stream,
  .tvp-final { padding: 64px 0; }
  .tvp-hero { padding: 110px 0 64px; }

  .tvp-btns .tvp-btn { width: 100%; }
  .tvp-packs__grid { grid-template-columns: 1fr; }
  .tvp-chips li { padding: 12px; font-size: 13.5px; gap: 10px; }
  .tvp-chips i { width: 32px; height: 32px; font-size: 16px; }
  .tvp-logo { height: 76px; }
  .tvp-logo__text { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .tvp *,
  .tvp *::before,
  .tvp *::after { transition: none !important; }
}
