/* Home hero slider. All rules are scoped to .zh. Photos are never cropped (object-fit: contain). */
.zh {
    --zh-gold: var(--sopot-base, #d4af37);
    --zh-navy: #062958;
    --zh-blue: #073c84;
    --zh-head: 141px; /* the shared header overlays the home hero */
    position: relative;
    overflow: hidden;
    padding: calc(var(--zh-head) + 56px) 0 44px;
    color: #fff;
    background:
        radial-gradient(900px 500px at 85% 35%, rgb(212 175 55 / 14%), transparent 60%),
        linear-gradient(115deg, #0a4596 0%, #073c84 40%, #062958 100%);
}
.zh::before { content: ''; position: absolute; inset: 0; background: url(../../uploads/2026/03/world-map-v1.png) no-repeat 70% 55% / 1100px auto; opacity: .08; pointer-events: none; }
.zh *, .zh *::before, .zh *::after { box-sizing: border-box; }
.zh__inner { position: relative; width: min(100% - 48px, 1320px); margin-inline: auto; }

/* Slides stack in one grid cell and crossfade */
.zh__slides { display: grid; }
.zh__slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; }
.zh__slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s ease, visibility 0s; }

.zh__text > * { transform: translateY(18px); opacity: 0; transition: transform .7s ease, opacity .7s ease; }
.zh__slide.is-active .zh__text > * { transform: none; opacity: 1; }
.zh__slide.is-active .zh__text > :nth-child(2) { transition-delay: .08s; }
.zh__slide.is-active .zh__text > :nth-child(3) { transition-delay: .16s; }
.zh__slide.is-active .zh__text > :nth-child(4) { transition-delay: .24s; }
.zh__eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--zh-gold); font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.zh__eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--zh-gold); }
.zh__title { margin: 16px 0 18px; color: #fff; font-family: var(--sopot-font-two, 'Fira Sans', sans-serif); font-size: clamp(36px, 4.2vw, 60px); font-weight: 700; line-height: 1.08; letter-spacing: -.01em; }
.zh__title span { color: var(--zh-gold); }
.zh__lead { max-width: 520px; margin: 0 0 30px; color: #d7e2f3; font-size: 18px; line-height: 1.65; }
.zh__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.zh__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 30px; border-radius: 8px; font-size: 15px; font-weight: 600; text-decoration: none; transition: background .2s, color .2s, box-shadow .2s, transform .2s; }
.zh__btn--gold { background: var(--zh-gold); color: #102949; }
.zh__btn--gold:hover { background: #e3c14d; color: #102949; transform: translateY(-1px); box-shadow: 0 10px 24px rgb(0 0 0 / 22%); }
.zh__btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 60%); }
.zh__btn--ghost:hover { color: #102949; background: #fff; }
.zh__btn:focus-visible, .zh__tab:focus-visible, .zh__arrow:focus-visible { outline: 2px solid var(--zh-gold); outline-offset: 3px; }

/* Photo stage: whole photo, letterbox filled with a blurred copy of itself */
.zh__stage { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #041d42; box-shadow: 0 30px 70px rgb(0 10 35 / 45%); outline: 1px solid rgb(255 255 255 / 12%); }
.zh__stage::after { content: ''; position: absolute; inset: auto 0 0; height: 70px; background: linear-gradient(180deg, transparent, rgb(4 29 66 / 55%)); pointer-events: none; z-index: 3; }
.zh__photo { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s ease; }
.zh__photo.is-on { opacity: 1; }
.zh__photo-bg { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; filter: blur(28px) saturate(1.1) brightness(.62); }
.zh__photo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 1; }
.zh__photo.is-on .zh__photo-img { animation: zh-drift 9s ease-out both; }
@keyframes zh-drift { from { transform: scale(1.02); } to { transform: scale(1); } }
.zh__pips { position: absolute; left: 50%; bottom: 16px; z-index: 4; display: flex; gap: 6px; transform: translateX(-50%); }
.zh__pips span { width: 8px; height: 8px; border-radius: 50%; background: rgb(255 255 255 / 45%); transition: width .3s, background .3s; }
.zh__pips span.is-on { width: 22px; border-radius: 4px; background: var(--zh-gold); }

/* Program tabs with progress, arrows and counter */
.zh__nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / 14%); }
.zh__tabs { display: flex; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.zh__tabs::-webkit-scrollbar { display: none; }
.zh__tab { position: relative; flex: 0 0 auto; display: flex; align-items: baseline; gap: 8px; min-height: 44px; padding: 10px 14px 14px; border: 0; border-radius: 8px; background: transparent; color: #a9bbd8; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: color .2s, background .2s; }
.zh__tab:hover { color: #fff; background: rgb(255 255 255 / 6%); }
.zh__tab.is-active { color: #fff; }
.zh__tab-num { color: var(--zh-gold); font-size: 12px; font-weight: 600; }
.zh__tab-bar { position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px; background: rgb(255 255 255 / 14%); overflow: hidden; }
.zh__tab-bar i { display: block; width: 0; height: 100%; background: var(--zh-gold); }
.zh__tab.is-active .zh__tab-bar i { animation: zh-progress var(--zh-duration, 7s) linear forwards; }
.zh.is-paused .zh__tab.is-active .zh__tab-bar i { animation-play-state: paused; }
.zh.is-static .zh__tab.is-active .zh__tab-bar i { animation: none; width: 100%; }
@keyframes zh-progress { from { width: 0; } to { width: 100%; } }
.zh__arrows { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; }
.zh__count { margin-right: 6px; color: #a9bbd8; font-size: 14px; font-variant-numeric: tabular-nums; }
.zh__count b { color: #fff; font-size: 18px; }
.zh__arrow { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid rgb(255 255 255 / 30%); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.zh__arrow:hover { background: var(--zh-gold); border-color: var(--zh-gold); color: #102949; }

@media (max-width: 1199px) {
    .zh { --zh-head: 132px; padding-top: calc(var(--zh-head) + 36px); }
    .zh__inner { width: calc(100% - 48px); }
    .zh__slide { gap: 36px; }
    .zh__lead { font-size: 16px; }
}
@media (max-width: 991px) {
    .zh__slide { grid-template-columns: 1fr; gap: 28px; align-items: start; }
    .zh__stage { order: -1; }
    .zh__nav { flex-direction: column-reverse; align-items: stretch; gap: 14px; margin-top: 28px; }
    .zh__arrows { justify-content: space-between; }
}
@media (max-width: 599px) {
    .zh { --zh-head: 88px; padding: calc(var(--zh-head) + 20px) 0 28px; }
    .zh__inner { width: calc(100% - 32px); }
    .zh__title { font-size: 32px; margin: 12px 0 12px; }
    .zh__lead { font-size: 15px; margin-bottom: 22px; }
    .zh__btn { flex: 1 1 0; padding-inline: 16px; }
    .zh__stage { border-radius: 14px; }
    .zh__tab { padding-inline: 12px; }
    .zh__tab-label { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    .zh__slide, .zh__photo, .zh__text > * { transition: none; }
    .zh__photo.is-on .zh__photo-img { animation: none; }
}
