/* Homepage hero (centred headline + media marquee) and the install video section.
   Layout, timings and easing follow the reference hero; colours and type use Verisko tokens. */

/* ---------- Hero ---------- */
.vk-hero{position:relative;background:var(--pale);color:var(--ink);padding:96px 0 0;overflow:hidden}
.vk-hero-shell{position:relative;z-index:2;width:100%;max-width:1800px;margin:0 auto;padding:0 32px}
.vk-headline{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;text-align:center;gap:32px;margin-bottom:20px;opacity:0;transition:opacity .7s ease-out}
.vk-headline.is-visible{opacity:1}
.vk-label{font-size:12px;font-weight:650;line-height:16px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0}
.vk-hero h1{margin:0;font-size:80px;line-height:1;letter-spacing:-.04em;font-weight:600;color:var(--navy)}
.vk-line{display:block;margin:-8px 0 -15px;padding:8px 0 15px;overflow:hidden}
.vk-line>span{display:block;transform:translateY(200%);transition:transform .7s ease-out}
.vk-line:nth-child(1)>span{transition-delay:.1s}
.vk-line:nth-child(2)>span{transition-delay:.2s}
.vk-line .vk-accent{color:var(--cyan)}
.vk-headline.is-visible .vk-line>span{transform:translateY(0)}
.vk-lead{max-width:560px;font-size:17px;line-height:1.6;color:var(--muted);margin:-8px 0 0}

.vk-buttons{display:flex;flex-direction:row;gap:8px;flex-wrap:wrap;justify-content:center}
.vk-cta-main{display:flex;align-items:center;justify-content:center;gap:8px;background:var(--navy);color:#fff;border-radius:40px;padding:12px 32px;font-size:16px;font-weight:600;line-height:1.5;text-decoration:none;overflow:hidden;transition:background-color .2s}
.vk-cta-main:hover{background:#0b6fa6}
.vk-cta-main .vk-arrow{display:flex;align-items:center;justify-content:center;width:0;overflow:visible}
.vk-cta-book{display:flex;flex-direction:row;align-items:center;gap:8px;border-radius:40px;padding:8px 20px 8px 8px;background:#fff;color:var(--ink);font-size:16px;font-weight:600;line-height:1.5;text-decoration:none;transition:all .2s}
.vk-cta-book:hover{background:var(--navy);color:#fff}
.vk-avatar{flex:none;width:32px;height:32px;border-radius:100vw;overflow:hidden;background:var(--navy);display:flex;align-items:center;justify-content:center}
.vk-avatar img{width:100%;height:100%;object-fit:cover}
.vk-note{font-size:11px;color:var(--muted);margin:-20px 0 0}

/* marquee */
.vk-marquee{position:relative;display:flex;align-items:center;justify-content:center;width:100%}
.vk-track{display:flex;align-items:center;width:max-content;animation:vk-marquee 30s linear infinite}
@keyframes vk-marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.vk-item{flex:none;width:736px;height:523px;margin:0 28px;border-radius:32px;position:relative}
.vk-item img,.vk-item video{display:block;width:100%;height:100%;object-fit:cover;border-radius:24px;background:#d8e0e6}
.vk-mask{position:absolute;z-index:1;left:0;width:100%;height:109px;pointer-events:none;display:block}
.vk-mask-top{top:-56px}
.vk-mask-bottom{bottom:-56px}
.vk-mask path{fill:var(--pale)}
.vk-mask-bottom path{fill:#fff}

/* ---------- Install video section ---------- */
.vk-install{background:#fff;padding:120px 0 96px}
.vk-install-head{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:end;margin-bottom:40px}
.vk-install-head h2{font-size:clamp(34px,3.6vw,52px);line-height:1.08;letter-spacing:-1.5px;color:var(--navy);margin:0}
.vk-install-head>p{font-size:16px;line-height:1.7;color:var(--muted);max-width:460px;justify-self:end;margin:0}
.vk-install-video{position:relative;border-radius:24px;overflow:hidden;background:#0b1d4a;aspect-ratio:16/9}
.vk-install-video video{display:block;width:100%;height:100%;object-fit:cover}
.vk-install-note{font-size:12px;color:var(--muted);margin-top:14px}

/* ---------- Responsive ---------- */
@media (max-width:991px){
  .vk-hero h1{font-size:64px}
  .vk-item{width:450px;height:400px;margin:0 16px}
  .vk-install-head{grid-template-columns:1fr;gap:16px}
  .vk-install-head>p{justify-self:start}
}
@media (max-width:767px){
  .vk-hero h1{font-size:56px}
  .vk-item{width:300px;height:250px;margin:0 10px}
  .vk-mask-top{height:65px;top:-33px}
  .vk-install{padding:88px 0 64px}
  .vk-install-video{border-radius:16px}
}
@media (max-width:479px){
  .vk-hero-shell{padding:0 16px}
  .vk-hero h1{font-size:13vw}
  .vk-headline{gap:24px;text-align:left;align-items:flex-start;margin-bottom:24px}
  .vk-label{font-size:10px}
  .vk-buttons{justify-content:flex-start}
  .vk-cta-main,.vk-cta-book{font-size:12px}
  .vk-cta-main{padding:10px 24px}
  .vk-cta-main .vk-arrow{display:none}
  .vk-item{width:250px;height:200px}
  .vk-mask{height:50px}
  .vk-mask-top{top:-25px}
  .vk-mask-bottom{bottom:-25px}
}
@media (prefers-reduced-motion:reduce){
  .vk-track{animation:none}
  .vk-headline,.vk-line>span{transition:none}
}
