/**
 * Homepage-only styly (Figma PMH-UI-UX desktop).
 * Načítá se jen při pmh_template_type === homepage.
 */

.pmh-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pmh-page-home {
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
}

:root {
  --pmh-home-bg: #faf9f6;
  --pmh-home-text: #030304;
  --pmh-home-muted: #313f49;
  --pmh-home-border: #dadde2;
  --pmh-home-gray-bg: #f4f6f8;
  /* Stejný směr jako hlavičkové CTA (modrá vlevo → červená vpravo) */
  --pmh-home-gradient: linear-gradient(90deg, #006AA5 0%, #006AA5 50%, #A32A27 100%);
  --pmh-home-max: 1240px;
  --pmh-home-radius: 12px;
  --pmh-home-radius-sm: 8px;
}

/* Plná šířka — obsah homepage má vlastní .pmh-home-section__inner */
.pmh-page-home .pmh-content {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  min-height: auto;
}

/* --- Hero (jednoduchý slider: pozadí + panely, šipky + tečky) --- */
.pmh-home-hero {
  position: relative;
  min-height: 598px;
  /* Fallback gradient, pokud chybí hero pozadí v /include/images/home/. */
  background:
    linear-gradient(135deg, rgba(3, 3, 4, 0.35) 0%, rgba(3, 3, 4, 0) 55%),
    linear-gradient(120deg, #313f49 0%, #748492 60%, #bfc1c9 100%);
  background-color: #bfc1c9;
  overflow: hidden;
}

.pmh-home-hero__bgs {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Tmavá vrstva nad pozadím – zlepšuje kontrast karty proti světlým fotkám. */
.pmh-home-hero__bgs::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 3, 4, 0.32) 0%, rgba(3, 3, 4, 0) 55%);
  pointer-events: none;
}

.pmh-home-hero__bg {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.pmh-home-hero__bg.is-active {
  opacity: 1;
}

.pmh-home-hero__arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #faf9f6;
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  box-sizing: border-box;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.pmh-home-hero__arrow-btn:hover {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.18);
}

.pmh-home-hero__arrow-btn:focus-visible {
  outline: 2px solid #006aa5;
  outline-offset: 2px;
}

.pmh-home-hero__arrow-btn--prev {
  left: clamp(12px, 3vw, 32px);
}

.pmh-home-hero__arrow-btn--next {
  right: clamp(12px, 3vw, 32px);
}

.pmh-home-hero__inner {
  max-width: var(--pmh-home-max);
  margin: 0 auto;
  padding: 72px 30px 56px;
  position: relative;
  z-index: 1;
}

.pmh-home-hero__card {
  max-width: 440px;
  padding: 32px 36px 28px;
  background: #fff;
  border: 1px solid var(--pmh-home-border);
  border-radius: var(--pmh-home-radius);
  box-sizing: border-box;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.pmh-home-hero__panels {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

.pmh-home-hero__panel {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.pmh-home-hero__panel.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.pmh-home-hero__dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
  padding-top: 2px;
}

.pmh-home-hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 2px solid rgba(3, 3, 4, 0.22);
  background: transparent;
  padding: 0;
  cursor: pointer;
  box-sizing: content-box;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.pmh-home-hero__dot:hover {
  border-color: rgba(3, 3, 4, 0.45);
}

.pmh-home-hero__dot:focus-visible {
  outline: 2px solid #006aa5;
  outline-offset: 2px;
}

.pmh-home-hero__dot.is-active {
  background: var(--pmh-home-text);
  border-color: var(--pmh-home-text);
}

.pmh-home-hero__badge {
  display: inline-block;
  padding: 8px 20px;
  margin-bottom: 20px;
  background: var(--pmh-home-gray-bg);
  border-radius: var(--pmh-home-radius-sm);
  font-family: Inter, system-ui, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  color: var(--pmh-home-muted);
}

.pmh-home-hero__title {
  margin: 0 0 14px;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--pmh-home-text);
}

/* Jeden H1 na stránce; slidové nadpisy 2–3 jako vizuální H1 */
.pmh-home-hero__title--h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.6vw, 44px);
}

.pmh-home-hero__lead {
  margin: 0 0 24px;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.55;
  color: var(--pmh-home-muted);
}

.pmh-home-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  max-width: 360px;
}

.pmh-home-hero__actions .pmh-home-btn--gradient {
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .pmh-home-hero__bg,
  .pmh-home-hero__panel {
    transition: none;
  }
}

/* --- Tlačítka --- */
.pmh-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  color: #fff;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  white-space: nowrap;
}

.pmh-home-btn--gradient {
  background-image: var(--pmh-home-gradient);
  background-size: 200% 100%;
  background-position: 100% 0;
  transition: background-position 0.45s ease, transform 0.12s;
}

.pmh-home-btn--gradient:hover {
  background-position: 0% 0;
  transform: translateY(-1px);
}

.pmh-home-btn--gradient:active {
  transform: translateY(0);
}

.pmh-home-btn--outline {
  background: #fff;
  color: var(--pmh-home-text);
  border: 1px solid var(--pmh-home-border);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.pmh-home-btn--outline:hover {
  border-color: #748492;
  background: var(--pmh-home-gray-bg);
  filter: none;
}

/* --- Sekce obecně --- */
.pmh-home-section {
  padding: 56px 0;
  background: #fff;
}

.pmh-home-section--muted {
  background: var(--pmh-home-gray-bg);
}

.pmh-home-section__inner {
  max-width: var(--pmh-home-max);
  margin: 0 auto;
  padding: 0 30px;
}

/* --- Banner — FVE / udržitelnost --- */
.pmh-home-banner {
  background: linear-gradient(135deg, #003366 0%, #004e8c 50%, #006AA5 100%);
  padding: 40px 24px;
}

.pmh-home-banner__inner {
  max-width: var(--pmh-home-max);
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.pmh-home-banner__body {
  flex: 1;
  min-width: 0;
}

.pmh-home-banner__title {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.pmh-home-banner__text {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.pmh-home-banner__note {
  margin: 0 0 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  font-style: italic;
}

.pmh-home-banner__btn {
  display: inline-block;
  padding: 9px 22px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #003366;
  background: #fff;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease, transform 0.18s ease;
}

.pmh-home-banner__btn:hover {
  background: #e8f0fe;
  transform: translateY(-1px);
}

.pmh-home-banner__logo {
  flex-shrink: 0;
  width: 200px;
}

.pmh-home-banner__logo img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 680px) {
  .pmh-home-banner__inner {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .pmh-home-banner__logo {
    width: 160px;
  }
}

/* --- CMS widget placeholder --- */
.pmh-home-widget {
  padding: 48px 0;
}

.pmh-home-widget__inner {
  border: 2px dashed #d1d5db;
  border-radius: 12px;
  background: #f3f4f6;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pmh-home-widget__label {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #9ca3af;
}

/* --- CMS widget zóna --- */
.pmh-home-cms {
  padding: 48px 0;
}

.pmh-home-cms__inner {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #374151;
}

.pmh-home-cms__inner h2 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.75em;
}

.pmh-home-cms__inner p {
  margin: 0 0 1.2em;
}

.pmh-home-cms__inner p:last-child {
  margin-bottom: 0;
}

.pmh-home-cms__inner img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.pmh-home-cms__inner a {
  color: #006AA5;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 106, 165, 0.25);
}

.pmh-home-cms__inner a:hover {
  color: #174ea6;
}

/* --- 4 kategorie --- */
.pmh-home-cats__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pmh-home-cat {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--pmh-home-border);
  border-radius: var(--pmh-home-radius-sm);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.pmh-home-cat:hover {
  border-color: #748492;
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.08);
}

.pmh-home-cat__title {
  display: block;
  padding: 20px 20px 12px;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  color: var(--pmh-home-text);
}

.pmh-home-cat__media {
  display: block;
  aspect-ratio: 1;
  margin: 0 20px 16px;
  border-radius: var(--pmh-home-radius-sm);
  background-size: cover;
  background-position: center;
  background-color: var(--pmh-home-gray-bg);
}

.pmh-home-cat__foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 20px 20px;
  margin-top: auto;
}

.pmh-home-cat__tagline {
  font-size: 14px;
  line-height: 1.45;
  color: #667085;
}

.pmh-home-cat__more {
  font-family: Inter, system-ui, sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--pmh-home-muted);
}

.pmh-home-cat__arrow {
  display: inline-block;
  transition: transform 0.2s;
}

.pmh-home-cat:hover .pmh-home-cat__arrow {
  transform: translateX(4px);
}

/* --- Pruh rychlých cest (pod kategoriemi) --- */
.pmh-home-paths {
  padding: 40px 0;
}

.pmh-home-paths__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pmh-home-path {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--pmh-home-border);
  border-radius: var(--pmh-home-radius-sm);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pmh-home-path:hover {
  border-color: #748492;
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.07);
}

.pmh-home-path__title {
  font-family: Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  color: var(--pmh-home-text);
  margin-bottom: 10px;
}

.pmh-home-path__text {
  font-size: 14px;
  line-height: 1.5;
  color: #667085;
  flex: 1;
  margin-bottom: 16px;
}

.pmh-home-path__link {
  font-family: Inter, system-ui, sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #006aa5;
}

.pmh-home-path:hover .pmh-home-path__link {
  color: #004a75;
}

/* --- Doporučujeme (Apollo) — třída pmh-home-hit = původní layout z Figmy --- */
.pmh-home-hit {
  background: var(--pmh-home-gray-bg);
  padding: 56px 0;
}

.pmh-home-hit__layout {
  max-width: var(--pmh-home-max);
  margin: 0 auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.pmh-home-hit__kicker {
  margin: 0 0 12px;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #222;
}

.pmh-home-hit__heading {
  margin: 0 0 20px;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--pmh-home-text);
}

.pmh-home-hit__lead {
  margin: 0 0 28px;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  color: #222;
  max-width: 552px;
}

.pmh-home-hit__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
  margin-bottom: 32px;
}

.pmh-home-hit__cell {
  position: relative;
  padding-left: 56px;
  min-height: 48px;
}

.pmh-home-hit__cell--solo {
  min-height: auto;
  padding-bottom: 4px;
}

.pmh-home-hit__cell--solo .pmh-home-hit__cell-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
}

.pmh-home-hit__icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #d0d5dd;
  border-radius: var(--pmh-home-radius-sm);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.pmh-home-hit__cell-title {
  margin: 0 0 8px;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.1;
  color: var(--pmh-home-text);
}

.pmh-home-hit__cell-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #667085;
}

.pmh-home-hit__visual {
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
  max-height: 480px;
}

.pmh-home-hit__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pmh-home-hit .pmh-home-btn--gradient {
  width: auto;
  max-width: none;
}

.pmh-home-hit__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-top: 8px;
}

.pmh-home-hit__ctas .pmh-home-btn {
  min-width: 0;
  font-size: 15px;
  padding: 10px 24px;
}

/* --- Promo block — udržitelnost / česká výroba --- */
.pmh-home-promo {
  background: #fff;
  padding: 64px 0 48px;
  text-align: center;
}

.pmh-home-promo__kicker {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #006AA5;
  margin-bottom: 12px;
}

.pmh-home-promo__title {
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #111827;
}

.pmh-home-promo__text {
  margin: 0 auto 28px;
  font-size: 1rem;
  line-height: 1.65;
  color: #4b5563;
  max-width: 640px;
}

.pmh-home-promo__cta {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #006AA5;
  text-decoration: none;
  transition: color 0.15s;
}

.pmh-home-promo__cta:hover {
  color: #174ea6;
}

/* --- Gallery — 3 fotky z výroby --- */
.pmh-home-gallery {
  background: #fff;
  padding: 0 0 72px;
}

.pmh-home-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pmh-home-gallery__img {
  overflow: hidden;
  border-radius: 12px;
  background: #f3f4f6;
  height: 280px;
}

.pmh-home-gallery__img--wide {
  grid-column: auto;
}

.pmh-home-gallery__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.35);
}

.pmh-home-gallery__img.is-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}

.pmh-home-gallery__img.is-placeholder::after {
  content: '';
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #d1d5db;
}

@media (max-width: 768px) {
  .pmh-home-gallery__grid {
    grid-template-columns: 1fr;
  }

  .pmh-home-gallery__img {
    height: 180px;
  }
}

/* --- Trust CTA link --- */
.pmh-home-trust__more {
  text-align: center;
  margin-top: 40px;
}

.pmh-home-trust__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #006AA5;
  text-decoration: none;
  transition: color 0.15s;
}

.pmh-home-trust__link:hover {
  color: #174ea6;
}

/* --- Trust --- */
.pmh-home-trust {
  background: #fff;
  padding: 60px 0 64px;
}

.pmh-home-trust__title {
  margin: 0 0 12px;
  text-align: center;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.5vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--pmh-home-text);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.pmh-home-trust__subtitle {
  margin: 0 0 32px;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  color: #667085;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.pmh-home-trust__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.pmh-home-trust__item {
  text-align: center;
}

.pmh-home-trust__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  width: 56px;
  height: 56px;
}

.pmh-home-trust__item-title {
  margin: 0 0 12px;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  color: var(--pmh-home-text);
}

.pmh-home-trust__item-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #313f49;
}

/* --- Závěrečná CTA před patičkou --- */
.pmh-home-outro {
  padding: 56px 0 64px;
}

.pmh-home-outro__inner {
  text-align: center;
  max-width: 640px;
}

.pmh-home-outro__title {
  margin: 0 0 16px;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.5vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--pmh-home-text);
}

.pmh-home-outro__text {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.55;
  color: #667085;
}

.pmh-home-outro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.pmh-home-outro__actions .pmh-home-btn {
  min-width: 200px;
  width: auto;
  max-width: none;
}

/* --- Rozšířená patička (homepage; stejná základní tmavá jako hlavička --color-dark) --- */
.pmh-footer.pmh-footer--home {
  margin-top: 0;
}

.pmh-footer--home {
  background: #1a1a1a;
  color: #eaedee;
  padding: 64px 0 0;
}

.pmh-footer--home .pmh-footer-home__inner {
  max-width: var(--pmh-home-max);
  margin: 0 auto;
  padding: 0 30px 48px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(220px, 280px);
  gap: 40px 32px;
}

.pmh-footer--home .pmh-footer-home__col h3 {
  margin: 0 0 16px;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #eaedee;
}

.pmh-footer--home .pmh-footer-home__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pmh-footer--home .pmh-footer-home__col li {
  margin-bottom: 10px;
}

.pmh-footer--home .pmh-footer-home__col a {
  color: #bfc1c9;
  text-decoration: none;
  font-size: 14px;
}

.pmh-footer--home .pmh-footer-home__col a:hover {
  color: #fff;
}

.pmh-footer-home__newsletter h3 {
  margin: 0 0 8px;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
}

.pmh-footer-home__newsletter p {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.5;
  color: #748492;
}

.pmh-footer-home__newsletter form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pmh-footer-home__newsletter input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--pmh-home-radius-sm);
  border: 1px solid #313f49;
  background: #1a1a1a;
  color: #eaedee;
  font-size: 14px;
  box-sizing: border-box;
}

.pmh-footer-home__newsletter .pmh-home-btn--gradient {
  width: 100%;
  max-width: none;
}

.pmh-footer-home__bottom {
  border-top: 1px solid #313f49;
  padding: 24px 30px 32px;
  max-width: var(--pmh-home-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px 24px;
}

.pmh-footer-home__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 13px;
  justify-self: start;
}

.pmh-footer-home__legal a {
  color: #748492;
  text-decoration: none;
}

.pmh-footer-home__legal a:hover {
  color: #eaedee;
}

.pmh-footer-home__copyright {
  justify-self: center;
  text-align: center;
  font-size: 13px;
  color: #748492;
}

.pmh-footer-home__social {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-self: end;
}

.pmh-footer-home__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #eaedee;
  opacity: 0.95;
  box-sizing: border-box;
}

.pmh-footer-home__social a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  opacity: 1;
}

@media (max-width: 1100px) {
  .pmh-home-cats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pmh-home-paths__grid {
    grid-template-columns: 1fr;
  }

  .pmh-footer--home .pmh-footer-home__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .pmh-home-trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pmh-home-hero {
    min-height: 480px;
  }

  .pmh-home-hero__inner {
    padding-top: 56px;
    padding-bottom: 48px;
  }

  .pmh-home-hero__arrow-btn {
    width: 42px;
    height: 42px;
  }

  .pmh-home-hero__arrow-btn--prev {
    left: 8px;
  }

  .pmh-home-hero__arrow-btn--next {
    right: 8px;
  }

  .pmh-home-hit__layout {
    grid-template-columns: 1fr;
  }

  .pmh-home-cats__grid {
    grid-template-columns: 1fr;
  }

  .pmh-home-hit__grid {
    grid-template-columns: 1fr;
  }

  .pmh-home-trust__grid {
    grid-template-columns: 1fr;
  }

  .pmh-footer--home .pmh-footer-home__inner {
    grid-template-columns: 1fr;
  }

  .pmh-footer-home__bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .pmh-footer-home__legal,
  .pmh-footer-home__copyright,
  .pmh-footer-home__social {
    justify-self: center;
  }
}

/* ============================================================
   PASS 1 doplňky – jednotné hlavičky sekcí, video sekce, drobnosti
   Pouze pod .pmh-page-home, aby neovlivnily jiné stránky.
   ============================================================ */

/* Page wrapper – pojistka, že homepage je full-bleed i kdyby šablonu
   někdo zabalil do .page-single-container. */
.pmh-page-home .page-single-container {
  max-width: none;
  margin: 0;
  padding: 0;
}

.pmh-page-home .pmh-home-section__head {
  margin: 0 0 32px;
}

.pmh-page-home .pmh-home-section__head--center {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.pmh-page-home .pmh-home-section__title {
  margin: 0 0 10px;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--pmh-home-text);
}

.pmh-page-home .pmh-home-section__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: #667085;
}

/* --- Video sekce („Za každým radiátorem…") --- */
.pmh-page-home .pmh-home-video {
  background: #0f1418;
  color: #faf9f6;
  padding: 72px 0;
}

.pmh-page-home .pmh-home-video__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.pmh-page-home .pmh-home-video__media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--pmh-home-radius);
  overflow: hidden;
  /* Fallback gradient (pokud poster chybí). */
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 60%),
    linear-gradient(120deg, #1f2a32 0%, #313f49 50%, #4a5b6a 100%);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.pmh-page-home .pmh-home-video__poster {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.pmh-page-home .pmh-home-video__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(15, 20, 24, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: not-allowed;
  transition: background 0.2s ease, border-color 0.2s ease;
  padding: 0;
}

.pmh-page-home .pmh-home-video__play:not([disabled]):hover {
  background: rgba(15, 20, 24, 0.75);
  border-color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

.pmh-page-home .pmh-home-video__play:focus-visible {
  outline: 2px solid #faf9f6;
  outline-offset: 3px;
}

.pmh-page-home .pmh-home-video__title {
  margin: 0 0 16px;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #faf9f6;
}

.pmh-page-home .pmh-home-video__lead {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.6;
  color: #bfc1c9;
  max-width: 520px;
}

.pmh-page-home .pmh-home-video__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.pmh-page-home .pmh-home-video__actions .pmh-home-btn {
  min-width: 0;
  width: auto;
  max-width: none;
}

.pmh-page-home .pmh-home-video__actions .pmh-home-btn--gradient[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  filter: none;
}

.pmh-page-home .pmh-home-video__actions .pmh-home-btn--outline {
  background: transparent;
  color: #faf9f6;
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: none;
}

.pmh-page-home .pmh-home-video__actions .pmh-home-btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.75);
}

/* --- Závěrečná CTA: výraznější verze pro homepage --- */
.pmh-page-home .pmh-home-outro--cta {
  background: var(--pmh-home-gray-bg);
  padding: 72px 0 80px;
}

.pmh-page-home .pmh-home-outro--cta .pmh-home-outro__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 30px;
}

/* --- Hit visual: čistá fotka bez rámečku --- */
.pmh-page-home .pmh-home-hit__visual {
  background: transparent;
}

@media (max-width: 900px) {
  .pmh-page-home .pmh-home-video {
    padding: 56px 0;
  }

  .pmh-page-home .pmh-home-video__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pmh-page-home .pmh-home-video__play {
    width: 64px;
    height: 64px;
  }
}

/* ============================================================
   PASS 1.1 – overflow guard, užší containery, hero/cat/apollo
   fallback bez assetů, jemné doladění video sekce.
   Vše scopnuté pod body.pmh-page-home / .pmh-page-home,
   aby žádné jiné stránky nedostaly side-effects.
   ============================================================ */

/* Tvrdá pojistka proti horizontálnímu scrollu (clip nevytváří scroll
   container, hidden je fallback pro starší prohlížeče). */
body.pmh-page-home {
  overflow-x: hidden;
  overflow-x: clip;
}

.pmh-page-home,
.pmh-page-home img,
.pmh-page-home svg,
.pmh-page-home video {
  max-width: 100%;
}

/* Užší container + jednotný responzivní padding. */
.pmh-page-home {
  --pmh-home-max: 1200px;
  --pmh-home-pad: clamp(20px, 4vw, 56px);
}

.pmh-page-home .pmh-home-section__inner,
.pmh-page-home .pmh-home-hero__inner,
.pmh-page-home .pmh-home-hit__layout,
.pmh-page-home .pmh-home-outro--cta .pmh-home-outro__inner,
.pmh-page-home .pmh-footer--home .pmh-footer-home__inner,
.pmh-page-home .pmh-footer-home__bottom {
  padding-left: var(--pmh-home-pad);
  padding-right: var(--pmh-home-pad);
}

/* Homepage content wrapper must have no padding — hero is full-bleed */
.pmh-page-home .pmh-content {
  padding: 0;
  max-width: none;
}

/* --- Hero: výraznější tmavý gradient, lepší kontrasty bez assetů --- */
.pmh-page-home .pmh-home-hero {
  min-height: 540px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(163, 42, 39, 0.22) 0%, rgba(163, 42, 39, 0) 55%),
    radial-gradient(100% 90% at 0% 100%, rgba(0, 106, 165, 0.30) 0%, rgba(0, 106, 165, 0) 55%),
    linear-gradient(135deg, #0f1418 0%, #1f2a32 40%, #313f49 75%, #4a5b6a 100%);
}

.pmh-page-home .pmh-home-hero__bgs::after {
  background: linear-gradient(90deg, rgba(3, 3, 4, 0.42) 0%, rgba(3, 3, 4, 0.12) 60%, rgba(3, 3, 4, 0) 100%);
}

.pmh-page-home .pmh-home-hero__inner {
  padding-top: 64px;
  padding-bottom: 56px;
}

.pmh-page-home .pmh-home-hero__card {
  box-shadow: 0 18px 40px rgba(3, 3, 4, 0.18);
}

.pmh-page-home .pmh-home-hero__arrow-btn {
  background: rgba(250, 249, 246, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 12px rgba(3, 3, 4, 0.15);
}
.pmh-page-home .pmh-home-hero__arrow-btn:hover {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.2);
}

.pmh-page-home .pmh-home-hero__dots {
  margin-top: 24px;
}
.pmh-page-home .pmh-home-hero__dot {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.18);
}
.pmh-page-home .pmh-home-hero__dot:hover {
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.32);
}
.pmh-page-home .pmh-home-hero__dot.is-active {
  background: #fff;
  border-color: #fff;
}

/* --- Sekce sjednoceně (po appendu sekcí výše použijeme finální spacing) --- */
.pmh-page-home .pmh-home-section {
  padding: clamp(48px, 6vw, 80px) 0;
}
.pmh-page-home .pmh-home-paths {
  padding: clamp(48px, 6vw, 72px) 0;
}

/* --- Kategorie: auto-fit grid + stylizovaný radiátor fallback --- */
.pmh-page-home .pmh-home-cats__grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.pmh-page-home .pmh-home-cat {
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
  min-width: 0;
}

.pmh-page-home .pmh-home-cat__media {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(0, 106, 165, 0.08), transparent 60%),
    linear-gradient(160deg, #f4f6f8 0%, #e2e7ec 100%);
}

/* Stylizovaný radiátor – CSS-only fallback, pokud asset chybí.
   Vykresluje se pod <img>, takže reálný obrázek ho překryje. */
.pmh-page-home .pmh-home-cat__media::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 14%;
  bottom: 14%;
  width: 42%;
  transform: translateX(-50%);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.18) 100%),
    repeating-linear-gradient(180deg, #faf9f6 0 8px, #d8dde2 8px 13px);
  box-shadow:
    0 14px 28px rgba(16, 24, 40, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  z-index: 0;
}

.pmh-page-home .pmh-home-cat__media .pmh-home-cat__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* --- Paths grid: auto-fit kvůli responzivitě bez breakpoint stepu --- */
.pmh-page-home .pmh-home-paths__grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 2vw, 20px);
}

/* --- Apollo (hit): bezpečné fit, layout 1fr 1fr, CSS-only fallback --- */
.pmh-page-home .pmh-home-hit__layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 48px);
  align-items: center;
}

.pmh-page-home .pmh-home-hit__content {
  min-width: 0;
}

.pmh-page-home .pmh-home-hit__visual {
  position: relative;
  background: transparent;
}

.pmh-page-home .pmh-home-hit__visual::before,
.pmh-page-home .pmh-home-hit__visual::after {
  display: none;
}

.pmh-page-home .pmh-home-hit__visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* --- Video sekce: jemné doladění (kontrast + drobný puls play) --- */
.pmh-page-home .pmh-home-video__media {
  border: 1px solid rgba(255, 255, 255, 0.06);
}

@keyframes pmh-home-video-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%      { transform: translate(-50%, -50%) scale(1.04); }
}
@media (prefers-reduced-motion: no-preference) {
  .pmh-page-home .pmh-home-video__play:not([disabled]) {
    animation: pmh-home-video-pulse 2.4s ease-in-out infinite;
  }
}

/* --- Outro CTA: drobně víc vzduchu --- */
.pmh-page-home .pmh-home-outro--cta {
  padding: clamp(56px, 6vw, 80px) 0;
}

/* ============================================================
   Responzivita 1440 / 1200 / 768 / 390
   ============================================================ */
@media (min-width: 1440px) {
  .pmh-page-home { --pmh-home-pad: 56px; }
  .pmh-page-home .pmh-home-hero { min-height: 580px; }
}

@media (max-width: 1100px) {
  /* Apollo nahoře pod sebou už od notebook šířky, ať není stísněný. */
  .pmh-page-home .pmh-home-hit__layout {
    grid-template-columns: 1fr;
  }
  .pmh-page-home .pmh-home-hit__visual {
    aspect-ratio: 16 / 10;
    max-height: none;
  }
}

@media (max-width: 768px) {
  .pmh-page-home .pmh-home-hero {
    min-height: 480px;
  }
  .pmh-page-home .pmh-home-hero__inner {
    padding-top: 48px;
    padding-bottom: 40px;
  }
  .pmh-page-home .pmh-home-hero__card {
    padding: 24px 22px 22px;
  }
  .pmh-page-home .pmh-home-hit__grid {
    grid-template-columns: 1fr;
    gap: 16px 24px;
  }
}

@media (max-width: 480px) {
  .pmh-page-home .pmh-home-hero { min-height: 440px; }
  .pmh-page-home .pmh-home-hero__arrow-btn {
    width: 38px;
    height: 38px;
  }
  .pmh-page-home .pmh-home-hero__title {
    font-size: clamp(22px, 6vw, 30px);
  }
  .pmh-page-home .pmh-home-cat__title {
    font-size: 17px;
  }
  .pmh-page-home .pmh-home-video__title {
    font-size: clamp(22px, 6vw, 28px);
  }
  .pmh-page-home .pmh-home-outro__title {
    font-size: clamp(22px, 6vw, 28px);
  }
}

/* ============================================================
   PASS 2D – rendering fix:
   - hero: 2-sloupcový layout (card vlevo, vizuál vpravo),
           žádné full-bleed background-image obrázky,
   - kategorie: aspect-ratio 4/3 + cover/contain režimy,
   - Apollo: text 60 %, vizuál 40 %, object-fit contain.
   Vše scopnuté pod .pmh-page-home — žádný dopad na jiné stránky.
   ============================================================ */

/* --- Hero: pozadí jen jako dekorativní gradient + cyklické tint vrstvy --- */
.pmh-page-home .pmh-home-hero {
  min-height: 600px;
}

.pmh-page-home .pmh-home-hero__bg {
  /* Reset PASS 1 background-* nastavení (žádné full-bleed obrázky). */
  background-image: none;
  background-color: transparent;
}

.pmh-page-home .pmh-home-hero__bg--1 {
  background:
    radial-gradient(70% 60% at 80% 20%, rgba(163, 42, 39, 0.18) 0%, rgba(163, 42, 39, 0) 65%),
    radial-gradient(50% 60% at 20% 90%, rgba(0, 106, 165, 0.15) 0%, rgba(0, 106, 165, 0) 70%);
}
.pmh-page-home .pmh-home-hero__bg--2 {
  background:
    radial-gradient(70% 60% at 20% 20%, rgba(74, 91, 106, 0.32) 0%, rgba(74, 91, 106, 0) 65%),
    radial-gradient(60% 60% at 85% 80%, rgba(0, 106, 165, 0.16) 0%, rgba(0, 106, 165, 0) 70%);
}
.pmh-page-home .pmh-home-hero__bg--3 {
  background:
    radial-gradient(60% 60% at 50% 30%, rgba(0, 106, 165, 0.22) 0%, rgba(0, 106, 165, 0) 65%),
    radial-gradient(60% 60% at 80% 90%, rgba(163, 42, 39, 0.14) 0%, rgba(163, 42, 39, 0) 70%);
}

/* Hero row: vlevo card, vpravo vizuál. */
.pmh-page-home .pmh-home-hero__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

/* Card vlevo: nech existující styling, jen v gridu zarovnej. */
.pmh-page-home .pmh-home-hero__card {
  max-width: 520px;
  justify-self: start;
}

/* Vizuální panel vpravo */
.pmh-page-home .pmh-home-hero__visual {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 4 / 5;
  max-height: 460px;
  justify-self: end;
  border-radius: var(--pmh-home-radius);
  overflow: hidden;
  background:
    radial-gradient(60% 45% at 30% 20%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 65%),
    linear-gradient(160deg, #1f2a32 0%, #313f49 55%, #4a5b6a 100%);
  box-shadow: 0 24px 48px rgba(3, 3, 4, 0.32);
}

.pmh-page-home .pmh-home-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: clamp(16px, 3%, 32px);
  box-sizing: border-box;
}

/* Placeholder pro slide 2 (česká výroba – zatím bez assetu).
   Dekorativní abstraktní gradient s naznačeným „kovem". */
.pmh-page-home .pmh-home-hero__visual--placeholder {
  background:
    linear-gradient(160deg, #0f1418 0%, #1f2a32 60%, #313f49 100%);
  position: relative;
}
.pmh-page-home .pmh-home-hero__visual--placeholder::before {
  content: "";
  position: absolute;
  inset: 12% 18%;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.15) 100%),
    repeating-linear-gradient(180deg, #2a363f 0 14px, #1f2a32 14px 22px);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.pmh-page-home .pmh-home-hero__visual--placeholder::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  top: 24%;
  height: 6px;
  border-radius: 4px;
  background: linear-gradient(180deg, #4a5b6a, #2a363f);
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.35);
}

@media (max-width: 900px) {
  .pmh-page-home .pmh-home-hero {
    min-height: 0;
  }
  .pmh-page-home .pmh-home-hero__row {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .pmh-page-home .pmh-home-hero__card {
    max-width: none;
    justify-self: stretch;
  }
  .pmh-page-home .pmh-home-hero__visual {
    justify-self: stretch;
    max-width: none;
    aspect-ratio: 4 / 3;
    max-height: 340px;
  }
}

@media (max-width: 480px) {
  .pmh-page-home .pmh-home-hero__visual {
    aspect-ratio: 16 / 10;
    max-height: 240px;
  }
}

/* --- Kategorie: aspect-ratio 4/3 + cover/contain režimy --- */
.pmh-page-home .pmh-home-cat__media {
  aspect-ratio: 4 / 3;
  margin: 0 16px 14px;
}

.pmh-page-home .pmh-home-cat__media--cover .pmh-home-cat__img {
  object-fit: cover;
  padding: 0;
}

.pmh-page-home .pmh-home-cat__media--contain {
  background:
    radial-gradient(80% 70% at 50% 35%, rgba(0, 106, 165, 0.06), transparent 65%),
    linear-gradient(180deg, #ffffff 0%, #f4f6f8 100%);
}
.pmh-page-home .pmh-home-cat__media--contain .pmh-home-cat__img {
  object-fit: contain;
  object-position: center;
  padding: clamp(12px, 4%, 22px);
  box-sizing: border-box;
}

/* V contain režimu fallback radiator pseudo už nedává smysl (zbytečně bije
   s produktovou fotkou). Skryjeme pseudo, image kdyby chyběl, neutral bg stačí. */
.pmh-page-home .pmh-home-cat__media--contain::before {
  display: none;
}

/* --- Apollo: text 60 %, vizuál 40 %, contain + max-height --- */
.pmh-page-home .pmh-home-hit__layout {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
}

.pmh-page-home .pmh-home-hit__lead {
  max-width: 560px;
}

.pmh-page-home .pmh-home-hit__visual {
  max-height: 480px;
  max-width: none;
  justify-self: end;
  padding: 0;
  box-sizing: border-box;
  background: transparent;
}

.pmh-page-home .pmh-home-hit__visual img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  object-position: center;
}

/* CSS-only stylizovaný radiátor PASS 1.1 fallback dál existuje pod img;
   po načtení reálného obrázku ho ::before/::after překryje, ale když image
   chybí, fallback se vidí. V contain režimu drží layout. */

@media (max-width: 1100px) {
  .pmh-page-home .pmh-home-hit__layout {
    grid-template-columns: 1fr;
  }
  .pmh-page-home .pmh-home-hit__visual {
    justify-self: center;
    max-width: none;
    max-height: none;
    aspect-ratio: auto;
  }
}

/* ============================================================
   PASS 2E – vizuální doladění:
   - hero: zrušit tvrdý rámeček/panel kolem obrázku,
           obrázek integrovaný do hero pozadí přes jemný glow,
   - kategorie: širší slot 16/10 a větší produkt v contain režimu,
   - Apollo: kosmetická úprava spacing pro nový lead text (delší).
   ============================================================ */

/* --- Hero visual: žádný tvrdý panel, jen halo glow + drop-shadow --- */
.pmh-page-home .pmh-home-hero__visual {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  isolation: isolate;
  max-width: 580px;
  max-height: 540px;
  aspect-ratio: 4 / 5;
}

/* Subtilní ambient halo za obrázkem – „světlo z venku". */
.pmh-page-home .pmh-home-hero__visual::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  filter: blur(32px);
  z-index: 0;
  pointer-events: none;
}

.pmh-page-home .pmh-home-hero__img {
  position: relative;
  z-index: 1;
  padding: 0;
  border-radius: var(--pmh-home-radius);
  filter: drop-shadow(0 22px 36px rgba(3, 3, 4, 0.45));
}

/* Slide 2 placeholder – „česká výroba" bez assetu.
   Žádný hard-edged rectangle, jen jemný blurred vertikální sloupec
   (suggesting tall radiator), splývá s hero gradientem. */
.pmh-page-home .pmh-home-hero__visual--placeholder {
  background: transparent;
}
.pmh-page-home .pmh-home-hero__visual--placeholder::before {
  content: "";
  position: absolute;
  inset: auto;
  left: 50%;
  top: 8%;
  bottom: 8%;
  right: auto;
  width: 26%;
  height: auto;
  transform: translateX(-50%);
  border-radius: 100px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.24) 45%,
    rgba(255, 255, 255, 0.05) 100%
  );
  box-shadow: none;
  filter: blur(22px);
  z-index: 0;
  pointer-events: none;
}
.pmh-page-home .pmh-home-hero__visual--placeholder::after {
  content: none;
  display: none;
}

/* Mobil: o trochu menší max-width, ať fotka neroste přes celou šířku. */
@media (max-width: 900px) {
  .pmh-page-home .pmh-home-hero__visual {
    max-width: 460px;
    max-height: 360px;
    aspect-ratio: 4 / 3;
    margin: 0 auto;
  }
  .pmh-page-home .pmh-home-hero__img {
    filter: drop-shadow(0 14px 24px rgba(3, 3, 4, 0.4));
  }
}

@media (max-width: 480px) {
  .pmh-page-home .pmh-home-hero__visual {
    max-width: 360px;
    max-height: 260px;
    aspect-ratio: 16 / 10;
  }
}

/* --- Kategorie: 16/10 slot, větší produktový vizuál pro contain mode --- */
.pmh-page-home .pmh-home-cat__media {
  aspect-ratio: 16 / 10;
}

.pmh-page-home .pmh-home-cat__media--contain .pmh-home-cat__img {
  padding: clamp(6px, 1.5%, 12px);
}

/* --- Apollo: nový lead je delší, dej mu trochu víc dechu --- */
.pmh-page-home .pmh-home-hit__lead {
  max-width: 600px;
  line-height: 1.55;
  margin-bottom: 32px;
}

/* ============================================================
   PASS 2F – sjednocení vizuální váhy kategorií:
   topné tyče a ventily přechází z contain (PASS 2D) na cover
   s jemným zoomem. Source 700×320 obrázky mají kolem produktu
   hodně bílého místa – contain je opticky srážel. Cover + scale
   vyplní celý 16/10 slot stejně jako radiátory a sušáky.
   ============================================================ */

.pmh-page-home .pmh-home-cat__media--rods,
.pmh-page-home .pmh-home-cat__media--valves {
  /* Neutrální fallback bg (kdyby image chyběl) – žádný stylizovaný
     radiátor pseudo, ten je matoucí u tyčí/ventilů. */
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}

/* Schovej PASS 1.1 stylizovaný radiátor ::before – nehodí se. */
.pmh-page-home .pmh-home-cat__media--rods::before,
.pmh-page-home .pmh-home-cat__media--valves::before {
  display: none;
}

/* Cover + jemný zoom – vyrovná vizuální váhu s radiátory/sušáky. */
.pmh-page-home .pmh-home-cat__media--rods .pmh-home-cat__img,
.pmh-page-home .pmh-home-cat__media--valves .pmh-home-cat__img {
  object-fit: cover;
  object-position: center;
  padding: 0;
  transform: scale(1.12);
  transform-origin: center;
}

/* Pokud by produkt v jednom z assetů nebyl přesně horizontálně
   centrovaný, lze posunout fokus pomocí samostatných pravidel:
   .pmh-page-home .pmh-home-cat__media--rods .pmh-home-cat__img   { object-position: center 45%; }
   .pmh-page-home .pmh-home-cat__media--valves .pmh-home-cat__img { object-position: center 55%; }
*/

@media (max-width: 480px) {
  /* Na mobilu drop scale o trochu – ať se neztrácí detail. */
  .pmh-page-home .pmh-home-cat__media--rods .pmh-home-cat__img,
  .pmh-page-home .pmh-home-cat__media--valves .pmh-home-cat__img {
    transform: scale(1.06);
  }
}

/* ============================================================
   PASS 3 – hero: čistě vizuální (video + 2 foto slidy, bez textu).
   Přepisuje PASS 1/2 hero (card + row layout) na full-bleed media.
   Stará .pmh-home-hero__card/row/visual/bgs CSS zůstává v souboru
   (nefunkční kvůli chybějícímu markupu), vyčistíme v refaktor pass.
   ============================================================ */

.pmh-page-home .pmh-home-hero {
  position: relative;
  height: clamp(480px, 56vh, 720px);
  background: #0f1418;
  overflow: hidden;
}

.pmh-page-home .pmh-home-hero__slides {
  position: absolute;
  inset: 0;
}

.pmh-page-home .pmh-home-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.pmh-page-home .pmh-home-hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.pmh-page-home .pmh-home-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* ---- Hero media — jemné zesvětlení ---- */
.pmh-page-home .pmh-home-hero__media {
  filter: brightness(1.15);
}

/* Fotky mají letterbox pruhy z video exportu — scale je schová za overflow:hidden */
.pmh-page-home .pmh-home-hero__slide img.pmh-home-hero__media {
  transform: scale(1.08);
}

/* ---- Gradient overlay — čitelnost textu přes tmavý spodek ---- */
.pmh-page-home .pmh-home-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(8, 12, 18, 0.82) 0%,
    rgba(8, 12, 18, 0.45) 40%,
    rgba(8, 12, 18, 0.08) 70%,
    transparent 100%
  );
  pointer-events: none;
}

/* ---- Content block — jednotný layout pro všechny slidy ---- */
.pmh-page-home .pmh-home-hero__content {
  position: absolute;
  bottom: clamp(48px, 8vh, 88px);
  left: clamp(32px, 5vw, 80px);
  z-index: 2;
  max-width: 540px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

/* Eyebrow — malý štítek nad headline */
.pmh-page-home .pmh-home-hero__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
}

/* Headline */
.pmh-page-home .pmh-home-hero__headline {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.02em;
}

/* Subtext */
.pmh-page-home .pmh-home-hero__subtext {
  margin: 0 0 20px;
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  max-width: 420px;
}

/* CTA */
.pmh-page-home .pmh-home-hero__cta {
  display: inline-block;
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  background: transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.pmh-page-home .pmh-home-hero__cta:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
}

.pmh-page-home .pmh-home-hero__cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* ---- Mobile ---- */
@media (max-width: 600px) {
  .pmh-page-home .pmh-home-hero__content {
    left: 20px;
    right: 20px;
    bottom: 36px;
    max-width: none;
  }

  .pmh-page-home .pmh-home-hero__headline {
    font-size: 1.35rem;
  }

  .pmh-page-home .pmh-home-hero__subtext {
    font-size: 0.82rem;
    margin-bottom: 16px;
  }

  .pmh-page-home .pmh-home-hero__cta {
    font-size: 0.8rem;
    padding: 9px 20px;
  }
}

/* Arrows — bílé na tmavém vizuálu, polotranslucent. */
.pmh-page-home .pmh-home-hero__arrow-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.pmh-page-home .pmh-home-hero__arrow-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Dots — bílé na tmavém */
.pmh-page-home .pmh-home-hero__dots {
  position: absolute;
  bottom: clamp(16px, 3vh, 32px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  margin: 0;
  padding: 0;
}
.pmh-page-home .pmh-home-hero__dot {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.2);
}
.pmh-page-home .pmh-home-hero__dot.is-active {
  background: #fff;
  border-color: #fff;
}

/* Fallback: pokud video/foto nenahraje, hero je tmavý gradient. */
.pmh-page-home .pmh-home-hero__slide video:not([src]),
.pmh-page-home .pmh-home-hero__slide img:not([src]) {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .pmh-page-home .pmh-home-hero__slide {
    transition: none;
  }
}

@media (max-width: 768px) {
  .pmh-page-home .pmh-home-hero {
    min-height: clamp(260px, 50vh, 480px);
  }
}

/* --- B7.4b Homepage 3 Products Row --- */
.pmh-home-products-row {
  background: var(--pmh-home-gray-bg);
  padding: 56px 0;
}

.pmh-home-products-row__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: var(--pmh-home-max);
  margin: 0 auto;
  padding: 0 30px;
}

.pmh-home-product-card {
  background: #fff;
  border: 1px solid var(--pmh-home-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.pmh-home-product-card:hover {
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.10);
  transform: translateY(-2px);
}

.pmh-home-product-card__img-wrap {
  display: block;
  overflow: hidden;
  height: 220px;
  background: #f4f6f8;
}

.pmh-home-product-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.22s ease;
}

.pmh-home-product-card:hover .pmh-home-product-card__img-wrap img {
  transform: scale(1.03);
}

.pmh-home-product-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.pmh-home-product-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1px solid var(--pmh-home-border);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  flex-shrink: 0;
}

.pmh-home-product-card__title {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--pmh-home-text);
}

.pmh-home-product-card__title a {
  color: inherit;
  text-decoration: none;
}

.pmh-home-product-card__title a:hover {
  color: #006aa5;
}

.pmh-home-product-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #667085;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pmh-home-product-card__cta {
  align-self: flex-start;
  margin-top: auto;
  font-size: 14px;
  padding: 9px 20px;
}

@media (max-width: 900px) {
  .pmh-home-products-row__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .pmh-home-products-row__grid {
    grid-template-columns: 1fr;
  }

  .pmh-home-product-card__img-wrap {
    height: 180px;
  }
}

/* ============================================================
   B7.4c Homepage Spotlight Carousel
   Rozšiřuje existující .pmh-home-hit layout o carousel chování.
   1 slide = statický spotlight (žádná animace).
   2–3 slidy = fade carousel řízený JS.
   ============================================================ */

/* Grid stacking — všechny slidy sdílí jednu buňku, výška se
   řídí nejvyšším slide (vždy aspoň 1 is-active). */
.pmh-home-hit--spotlight .pmh-home-hit__slides {
  display: grid;
  grid-template-columns: 1fr;
}

.pmh-home-hit--spotlight .pmh-home-hit__slide {
  grid-area: 1 / 1;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.pmh-home-hit--spotlight .pmh-home-hit__slide:not(.is-active) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.pmh-home-hit--spotlight .pmh-home-hit__slide.is-active {
  opacity: 1;
  visibility: visible;
}

/* Controls bar — šipky + dots centrovaně pod carousel sekcí */
.pmh-home-spotlight__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 30px 8px;
}

/* Šipky vlevo/vpravo — decentní, v PMH stylu */
.pmh-home-spotlight__arrow {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(3, 3, 4, 0.18);
  background: #fff;
  color: #313f49;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.pmh-home-spotlight__arrow:hover {
  border-color: #748492;
  background: var(--pmh-home-gray-bg);
  color: var(--pmh-home-text);
}

.pmh-home-spotlight__arrow:focus-visible {
  outline: 2px solid #006aa5;
  outline-offset: 2px;
}

/* Dots — pod carousel sekcí, stejný styl jako hero dots */
.pmh-home-spotlight__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.pmh-home-spotlight__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 2px solid rgba(3, 3, 4, 0.22);
  background: transparent;
  padding: 0;
  cursor: pointer;
  box-sizing: content-box;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.pmh-home-spotlight__dot:hover {
  border-color: rgba(3, 3, 4, 0.45);
}

.pmh-home-spotlight__dot:focus-visible {
  outline: 2px solid #006aa5;
  outline-offset: 2px;
}

.pmh-home-spotlight__dot.is-active {
  background: var(--pmh-home-text);
  border-color: var(--pmh-home-text);
}

@media (prefers-reduced-motion: reduce) {
  .pmh-home-hit--spotlight .pmh-home-hit__slide {
    transition: none;
  }
}

/* ============================================================
   B7.4f Homepage Spotlight — mobile layout polish
   Na mobilu je vizuál produktu nejatraktivnější část slidu,
   proto jde hned po lead textu, před výhody a CTA.
   Pořadí: kicker → nadpis → lead → obrázek → výhody → CTA.
   display: contents rozpustí __content do gridu __layout,
   order pak řídí pořadí prvků. Desktop (>768px) beze změny.
   Fallback sekce bez --spotlight zůstává nedotčená.
   ============================================================ */
@media (max-width: 768px) {
  .pmh-page-home .pmh-home-hit--spotlight .pmh-home-hit__layout {
    /* Spacing řídí marginy jednotlivých prvků, ne grid gap. */
    gap: 0;
  }

  .pmh-page-home .pmh-home-hit--spotlight .pmh-home-hit__content {
    display: contents;
  }

  .pmh-home-hit--spotlight .pmh-home-hit__kicker,
  .pmh-home-hit--spotlight .pmh-home-hit__heading,
  .pmh-home-hit--spotlight .pmh-home-hit__lead,
  .pmh-home-hit--spotlight .pmh-home-hit__grid,
  .pmh-home-hit--spotlight .pmh-home-hit__ctas {
    min-width: 0;
  }

  .pmh-home-hit--spotlight .pmh-home-hit__kicker  { order: 1; }
  .pmh-home-hit--spotlight .pmh-home-hit__heading { order: 2; }
  .pmh-home-hit--spotlight .pmh-home-hit__lead    { order: 3; }

  .pmh-page-home .pmh-home-hit--spotlight .pmh-home-hit__visual {
    order: 4;
    margin: 0 0 28px;
    width: 100%;
  }

  .pmh-home-hit--spotlight .pmh-home-hit__grid { order: 5; }
  .pmh-home-hit--spotlight .pmh-home-hit__ctas { order: 6; }
}

