/* Samostatný promo článek — mimo chrome portálu */

:root {
  --pc-ink: #121a17;
  --pc-ink-soft: #3a4742;
  --pc-paper: #f5f8f7;
  --pc-paper-deep: #e7efec;
  --pc-forest: #0f3d32;
  --pc-forest-mid: #1a5c4a;
  --pc-mist: #c5d8d0;
  --pc-accent: #c45c26;
  --pc-white: #ffffff;
  --pc-max: 42rem;
  --pc-wide: 68rem;
  --pc-font-display: "Fraunces", "Georgia", serif;
  --pc-font-body: "Manrope", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.pc-body {
  margin: 0;
  min-height: 100vh;
  color: var(--pc-ink);
  font-family: var(--pc-font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  background:
    radial-gradient(120% 80% at 10% -10%, rgba(26, 92, 74, 0.12), transparent 55%),
    radial-gradient(90% 60% at 100% 0%, rgba(196, 92, 38, 0.08), transparent 45%),
    linear-gradient(180deg, var(--pc-paper) 0%, var(--pc-paper-deep) 100%);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--pc-forest-mid);
}

a:hover {
  color: var(--pc-forest);
}

.pc-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--pc-white);
  color: var(--pc-ink);
  padding: 0.5rem 1rem;
  z-index: 100;
}

.pc-skip:focus {
  left: 1rem;
  top: 1rem;
}

/* —— Horní lišta —— */
.pc-topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.1rem 1rem 0.75rem;
  max-width: var(--pc-wide);
  margin: 0 auto;
  width: 100%;
}

.pc-topbar__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-width: 0;
}

.pc-topbar__logo {
  height: 2.15rem;
  width: auto;
  max-width: min(88vw, 18rem);
  object-fit: contain;
  object-position: center;
  /* Logo má černé pozadí — na tmavém hero ho „vyřízne“ */
  mix-blend-mode: screen;
}

.pc-hero__brand {
  display: none;
}

/* —— Hero —— */
.pc-hero {
  position: relative;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 4.25rem 1.1rem 2.75rem;
  color: var(--pc-white);
  overflow: hidden;
  isolation: isolate;
}

.pc-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(165deg, #0a241e 0%, #12382e 42%, #1a4a3c 72%, #0f2a24 100%);
}

.pc-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(197, 216, 208, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(196, 92, 38, 0.15), transparent 55%),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 18px,
      rgba(255, 255, 255, 0.015) 18px,
      rgba(255, 255, 255, 0.015) 19px
    );
  animation: pc-mist 18s ease-in-out infinite alternate;
}

@keyframes pc-mist {
  from {
    opacity: 0.85;
    transform: scale(1);
  }
  to {
    opacity: 1;
    transform: scale(1.04);
  }
}

.pc-hero__inner {
  max-width: 40rem;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.pc-hero__kicker {
  margin: 0 0 0.65rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pc-mist);
  opacity: 0;
  animation: pc-rise 0.9s ease forwards 0.15s;
}

.pc-hero h1 {
  margin: 0;
  font-family: var(--pc-font-display);
  font-size: clamp(1.45rem, 6.2vw, 2.85rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
  opacity: 0;
  animation: pc-rise 0.95s ease forwards 0.25s;
}

.pc-hero__lead {
  margin: 0.9rem auto 0;
  max-width: 34rem;
  font-size: clamp(0.98rem, 3.8vw, 1.2rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  opacity: 0;
  animation: pc-rise 0.95s ease forwards 0.4s;
}

.pc-hero__actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  opacity: 0;
  animation: pc-rise 0.95s ease forwards 0.55s;
}

.pc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.pc-btn:hover {
  transform: translateY(-2px);
}

.pc-btn--primary {
  background: var(--pc-white);
  color: var(--pc-forest);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.pc-btn--primary:hover {
  color: var(--pc-forest);
  background: #f3f7f5;
}

.pc-btn--ghost {
  background: transparent;
  color: var(--pc-white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.pc-btn--ghost:hover {
  color: var(--pc-white);
  background: rgba(255, 255, 255, 0.1);
}

@keyframes pc-rise {
  from {
    opacity: 0;
    transform: translateY(1.1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* —— Článek —— */
.pc-article {
  max-width: min(48rem, var(--pc-wide));
  margin: -1.25rem auto 0;
  padding: 0 1.25rem 4rem;
  position: relative;
  z-index: 2;
}

.pc-article__sheet {
  background: var(--pc-white);
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.25rem, 4vw, 2.5rem);
  box-shadow: 0 18px 50px rgba(18, 26, 23, 0.1);
  border: 1px solid rgba(15, 61, 50, 0.08);
}

.pc-meta {
  margin: 0 0 1.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pc-ink-soft);
}

.pc-article p {
  margin: 0 0 1.15rem;
}

.pc-article .pc-dek {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--pc-ink);
  font-weight: 500;
}

.pc-article h2 {
  margin: 2.5rem 0 1rem;
  font-family: var(--pc-font-display);
  font-size: clamp(1.45rem, 3.2vw, 1.85rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--pc-forest);
  text-wrap: balance;
}

.pc-article h2::after {
  content: "";
  display: block;
  width: 3.25rem;
  height: 3px;
  margin-top: 0.75rem;
  background: linear-gradient(90deg, var(--pc-forest-mid), var(--pc-accent));
  border-radius: 2px;
  transform-origin: left center;
  animation: pc-rule 0.8s ease both;
}

@keyframes pc-rule {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.pc-article h3 {
  margin: 1.75rem 0 0.45rem;
  font-family: var(--pc-font-body);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--pc-ink);
}

.pc-shot {
  margin: 1.75rem 0 2rem;
  padding: 0;
}

.pc-shot__frame {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0.35rem;
  overflow: hidden;
  cursor: zoom-in;
  touch-action: manipulation;
  background: var(--pc-paper-deep);
  box-shadow: 0 12px 36px rgba(18, 26, 23, 0.1);
  outline: none;
}

.pc-shot__frame:focus-visible {
  box-shadow: 0 0 0 3px rgba(15, 61, 50, 0.35), 0 12px 36px rgba(18, 26, 23, 0.1);
}

.pc-shot__frame.is-zoomed {
  touch-action: none;
  cursor: grab;
}

.pc-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.35rem;
  border: 1px solid rgba(15, 61, 50, 0.1);
  background: var(--pc-paper-deep);
  transform-origin: center center;
  transition: none;
  user-select: none;
  -webkit-user-drag: none;
}

.pc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  margin: 0;
  background: rgba(8, 14, 12, 0.94);
  cursor: zoom-out;
  touch-action: none;
}

.pc-lightbox[hidden] {
  display: none !important;
}

.pc-lightbox__stage {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  overflow: hidden;
  padding: 1rem;
}

.pc-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transform-origin: center center;
  user-select: none;
  -webkit-user-drag: none;
  border-radius: 0.2rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

.pc-lightbox__hint {
  flex: 0 0 auto;
  margin: 0;
  padding: 0.65rem 1rem 1.1rem;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.62);
  pointer-events: none;
}

body.pc-lightbox-open {
  overflow: hidden;
}

.pc-features li .pc-shot {
  margin: 1rem 0 0.25rem;
  margin-left: -1.1rem;
}

.pc-features {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.35rem;
}

.pc-features li {
  padding: 0 0 0 1.1rem;
  border-left: 3px solid var(--pc-mist);
  transition: border-color 0.25s ease;
}

.pc-features li:hover {
  border-left-color: var(--pc-forest-mid);
}

.pc-features h3 {
  margin-top: 0;
}

.pc-features p {
  margin: 0;
  color: var(--pc-ink-soft);
}

.pc-closing {
  margin-top: 0.5rem;
}

.pc-cta-band {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--pc-paper-deep);
  text-align: center;
}

.pc-cta-band p {
  margin: 0 0 1rem;
  color: var(--pc-ink-soft);
  font-size: 0.98rem;
}

.pc-cta-band .pc-btn--primary {
  background: var(--pc-forest);
  color: var(--pc-white);
  box-shadow: 0 8px 24px rgba(15, 61, 50, 0.25);
}

.pc-cta-band .pc-btn--primary:hover {
  background: var(--pc-forest-mid);
  color: var(--pc-white);
}

@media (min-width: 720px) {
  .pc-topbar {
    padding: 1.6rem 2rem 1.35rem;
  }

  .pc-topbar__logo {
    height: 2.5rem;
    max-width: min(70vw, 16rem);
  }

  .pc-hero__brand {
    display: block;
    margin: 0 auto 1.5rem;
    height: clamp(3.25rem, 11vw, 5rem);
    width: auto;
    max-width: min(92vw, 28rem);
    object-fit: contain;
    mix-blend-mode: screen;
    opacity: 0;
    animation: pc-rise 0.9s ease forwards 0.1s;
  }

  .pc-hero {
    justify-content: flex-end;
    padding: 7.5rem 2rem 4.5rem;
    min-height: min(88vh, 40rem);
  }

  .pc-hero__kicker {
    margin: 0 0 0.85rem;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
  }

  .pc-hero h1 {
    font-size: clamp(1.85rem, 4.8vw, 2.85rem);
    line-height: 1.18;
  }

  .pc-hero__lead {
    margin: 1.25rem auto 0;
    font-size: clamp(1.05rem, 2.2vw, 1.2rem);
    line-height: 1.55;
  }

  .pc-article {
    margin-top: -3rem;
  }

  .pc-features {
    gap: 1.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .pc-hero__bg::after,
  .pc-hero__brand,
  .pc-hero__kicker,
  .pc-hero h1,
  .pc-hero__lead,
  .pc-hero__actions,
  .pc-article h2::after {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
