/* Samostatná ukázka úspěšného prodeje Vanovice na úvodní stránce. */
.home-vanovice{padding-block:clamp(55px,7vw,100px)}
.home-vanovice-heading{display:grid;grid-template-columns:1.16fr .84fr;gap:clamp(20px,4vw,60px);align-items:end;margin-bottom:35px}
.home-vanovice-heading h2{margin:12px 0 0;max-width:750px}
.home-vanovice-heading > p{max-width:470px;margin:0 0 4px;color:var(--muted,#617170);line-height:1.85}
.home-vanovice-card{display:grid;grid-template-columns:1.08fr .92fr;align-items:stretch;overflow:hidden;border:1px solid rgba(18,62,65,.12);border-radius:24px;background:#f6f8f6;box-shadow:0 16px 45px rgba(15,44,46,.07)}
.home-vanovice-visual{min-width:0;background:#143c40}
.home-vanovice-video{position:relative;display:block;width:100%;height:100%;min-height:350px;overflow:hidden}
.home-vanovice-video img{width:100%;height:100%;min-height:350px;display:block;object-fit:cover;transition:transform .4s ease}
.home-vanovice-video::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(transparent 50%,rgba(0,0,0,.42))}
.home-vanovice-video:hover img{transform:scale(1.025)}
.home-vanovice-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:74px;height:74px;border:1px solid rgba(255,255,255,.75);border-radius:50%;display:grid;place-items:center;padding-left:4px;color:#fff;background:rgba(13,52,55,.74);font-size:25px;z-index:1;box-shadow:0 8px 28px rgba(0,0,0,.2)}
.home-vanovice-video-label{position:absolute;left:22px;bottom:22px;color:#fff;font-size:11px;font-weight:750;letter-spacing:.12em;z-index:1}
.home-vanovice-copy{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:clamp(28px,4vw,65px);min-width:0}
.home-vanovice-result{display:inline-block;padding:9px 13px;background:#e5efe9;border-radius:6px;color:#1b5449;font-size:11px;letter-spacing:.09em;font-weight:800}
.home-vanovice-copy h3{font-size:clamp(28px,3.4vw,46px);line-height:1.15;letter-spacing:-.025em;color:#183d40;margin:22px 0}
.home-vanovice-copy h3 em{color:#a78959}
.home-vanovice-copy p{font-size:15px;line-height:1.85;color:#536867;margin:0 0 28px}
.home-vanovice-more{font-size:14px;font-weight:750;color:#17474b;text-decoration:underline;text-underline-offset:5px}
.home-vanovice-video:focus-visible,.home-vanovice-more:focus-visible{outline:3px solid #ba9d6b;outline-offset:4px}
@media(max-width:800px){.home-vanovice-heading{grid-template-columns:1fr}.home-vanovice-card{grid-template-columns:1fr}.home-vanovice-video,.home-vanovice-video img{min-height:250px;max-height:450px}.home-vanovice-copy{padding:28px}}
@media(prefers-reduced-motion:reduce){.home-vanovice-video img{transition:none}.home-vanovice-video:hover img{transform:none}}

/* Vanovice – místní MP4 přehrávač místo externího odkazu. */
.home-vanovice-video{width:100%;min-height:0;height:100%;display:flex;align-items:center;background:#163e42;overflow:hidden}
.home-vanovice-video::after{content:none}
.home-vanovice-video video{display:block;width:100%;height:auto;max-height:560px;aspect-ratio:16/9;object-fit:contain;background:#102d31}
@media(max-width:800px){.home-vanovice-video{min-height:0}.home-vanovice-video video{max-height:none}}

/* Jemne zaobleny prehravac v samostatnem ramecku, stejny princip jako ostatni videa. */
.home-vanovice-visual{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:clamp(18px,2.5vw,32px);
  background:#f6f8f6;
}
.home-vanovice-visual .home-vanovice-video{
  display:block;
  width:100%;
  height:auto;
  min-height:0;
  border-radius:20px;
  overflow:hidden;
  background:#163e42;
  box-shadow:0 12px 32px rgba(17,53,55,.17);
  isolation:isolate;
}
.home-vanovice-visual .home-vanovice-video video{
  display:block;
  width:100%;
  height:auto;
  max-height:none;
  aspect-ratio:16 / 9;
  object-fit:contain;
  border-radius:20px;
}
@media(max-width:800px){
 .home-vanovice-visual{padding:16px 16px 0}
 .home-vanovice-visual .home-vanovice-video,
 .home-vanovice-visual .home-vanovice-video video{border-radius:16px}
}

/* V3: vyvážené proporce karty Vanovice bez velkých tmavých pruhů. */
.home-vanovice{padding-block:clamp(35px,5vw,70px)}
.home-vanovice-card{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;background:#fafaf7}
.home-vanovice-card .home-vanovice-visual{min-width:0;height:auto;padding:clamp(20px,2.8vw,38px);background:transparent;align-self:center}
.home-vanovice-card .home-vanovice-video{width:100%;height:auto;aspect-ratio:16/9;min-height:0;border-radius:20px;box-shadow:0 12px 26px rgba(17,53,55,.12)}
.home-vanovice-card .home-vanovice-video video{display:block;width:100%;height:100%;max-height:none;aspect-ratio:16/9;object-fit:contain;background:#173d40}
.home-vanovice-card .home-vanovice-copy{padding:clamp(26px,3.2vw,48px);justify-content:center}
.home-vanovice-card .home-vanovice-copy h3{margin:18px 0 16px;font-size:clamp(28px,3.2vw,42px)}
.home-vanovice-card .home-vanovice-copy p{margin:0 0 14px;line-height:1.65;font-size:14px}
.home-vanovice-card .home-vanovice-copy p + p{margin-bottom:18px}
.home-vanovice-card .home-vanovice-copy .home-vanovice-more{margin-top:5px}
@media(max-width:850px){
 .home-vanovice-card{grid-template-columns:1fr}
 .home-vanovice-card .home-vanovice-visual{padding:20px 20px 4px}
 .home-vanovice-card .home-vanovice-copy{padding:20px 24px 30px}
}

.home-vanovice-intro{margin:0 0 28px;color:#214044;font-size:clamp(30px,4.2vw,56px);line-height:1.15;font-weight:500;letter-spacing:-.025em}
.home-vanovice-intro em{color:#b49a70;font-weight:400}
