/* Skyriai: pagrindiniai dalykai, statistika, juodas skyrius, spalvos. */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 80px; }
.sec-head .t-section { max-width: 75%; }

/* ---------- Pagrindiniai dalykai ---------- */
.hl { padding-bottom: 120px; }
.hl-viewport { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  scroll-padding-inline: calc((100% - min(var(--content), 100% - 2 * var(--gutter))) / 2); }
.hl-viewport::-webkit-scrollbar { display: none; }
.hl-list { display: flex; gap: 20px; padding-inline: calc((100% - min(var(--content), 100% - 2 * var(--gutter))) / 2); width: max-content; }
.hl-card {
  position: relative; flex: none; width: min(var(--content), 100vw - 2 * var(--gutter)); aspect-ratio: 1260 / 680;
  border-radius: 28px; overflow: hidden; background: var(--bg-alt); scroll-snap-align: start; isolation: isolate;
}
.hl-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transform: scale(1.04); transition: transform 1.4s var(--ease); }
.hl-card.on .hl-media { transform: none; }
.hl-cap { position: absolute; left: 0; right: 0; top: 52px; text-align: center; padding-inline: 24px; color: rgba(0, 0, 0, 0.88);
  opacity: 0; transform: translateY(16px); transition: opacity 0.8s var(--ease) 0.15s, transform 0.8s var(--ease) 0.15s; }
.hl-card.on .hl-cap { opacity: 1; transform: none; }
.hl-dark .hl-cap { color: #f5f5f7; }
.hl-dark::after { content: ""; position: absolute; inset: 0 0 auto; height: 52%; z-index: -1; background: linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.42) 45%, rgba(0, 0, 0, 0)); }
.hl-card:not(.hl-dark):not(.hl-sms)::after { content: ""; position: absolute; inset: 0 0 auto; height: 40%; z-index: -1; background: linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0)); }

/* telefonas su žinute */
.hl-sms { background: linear-gradient(180deg, #fbfbfd, #ececf0); }
.phone { position: absolute; left: 50%; top: 31%; width: 300px; height: 620px; transform: translateX(-50%); border-radius: 54px; background: #1d1d1f; padding: 11px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12), inset 0 0 0 2px #4a4a4e; }
.phone-screen { height: 100%; border-radius: 44px; background: #fff; overflow: hidden; padding: 14px 18px; }
.phone-top { position: relative; height: 34px; display: flex; align-items: center; }
.phone-time { font-size: 15px; font-weight: 600; padding-left: 14px; }
.phone-island { position: absolute; left: 50%; top: 4px; width: 96px; height: 28px; margin-left: -48px; border-radius: 20px; background: #000; }
.phone-head { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 0 12px; border-bottom: 1px solid #e5e5ea; }
.phone-avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(#a5a9b3, #8a8e97); color: #fff; font-size: 20px; font-weight: 600; }
.phone-name { font-size: 12px; color: var(--text); }
.phone-day { text-align: center; font-size: 11px; color: var(--gray-2); margin: 14px 0 8px; letter-spacing: 0; }
.bubble { margin-left: auto; max-width: 84%; padding: 8px 13px; border-radius: 19px 19px 5px 19px; background: #34c759; color: #fff; font-size: 15px; line-height: 1.33; letter-spacing: -0.01em;
  transform-origin: 100% 100%; transform: scale(0.6) translateY(20px); opacity: 0; transition: transform 0.7s var(--spring) 0.4s, opacity 0.3s var(--ease) 0.4s; }
.hl-card.on .bubble { transform: none; opacity: 1; }

/* valdikliai: kaip Apple, pilka kapsulė su taškais ir grojimo mygtukas */
.hl-ctrl { position: sticky; bottom: 32px; z-index: 4; display: flex; justify-content: center; gap: 14px; margin-top: 40px; pointer-events: none; }
.hl-dots, .hl-play { pointer-events: auto; background: rgba(232, 232, 237, 0.72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.hl-dots { display: flex; align-items: center; height: 56px; padding: 0 12px; border-radius: 28px; }
.hl-dots button { width: 24px; height: 40px; border: 0; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; transition: width 0.5s var(--ease); }
.hl-dots i { position: relative; display: block; width: 8px; height: 8px; border-radius: 4px; background: rgba(0, 0, 0, 0.42); overflow: hidden; transition: width 0.5s var(--ease), background-color 0.3s; }
.hl-dots button.on { width: 64px; }
.hl-dots button.on i { width: 48px; background: rgba(0, 0, 0, 0.16); }
.hl-dots i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(0, 0, 0, 0.56); transform-origin: 0 50%; transform: scaleX(var(--prog, 0)); }
.hl-dots button:not(.on) i::after { display: none; }
.hl-play { width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; }
.hl-play svg { width: 14px; height: 14px; fill: #1d1d1f; }
.hl-play .i-play, .hl.paused .hl-play .i-pause { display: none; }
.hl.paused .hl-play .i-play { display: block; }

@media (max-width: 734px) {
  .sec-head { flex-direction: column; gap: 14px; margin-bottom: 40px; }
  .sec-head .t-section { max-width: none; }
  .hl-list { gap: 12px; padding-inline: 24px; }
  .hl-viewport { scroll-padding-inline: 24px; }
  .hl-card { width: calc(100vw - 48px); aspect-ratio: 342 / 560; border-radius: 22px; }
  .hl-cap { top: 32px; }
  .phone { top: 34%; width: 240px; height: 500px; border-radius: 44px; padding: 9px; }
  .phone-screen { border-radius: 36px; padding: 12px 14px; }
  .bubble { font-size: 13px; }
  .hl-ctrl { bottom: 20px; }
  .hl-dots { height: 48px; } .hl-play { width: 48px; height: 48px; }
}

/* ---------- Skaičiai ---------- */
.stats-head .t-eyebrow { margin-bottom: 8px; }
.stats-intro { max-width: 760px; margin: 40px auto 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 350px)); justify-content: center; column-gap: 104px; row-gap: 72px; margin-top: 100px; }
.stat { display: flex; flex-direction: column; }
.stat-line { display: block; height: 1px; background: var(--text); margin-bottom: 24px; transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.2s var(--ease) 0.2s; }
.stat.in .stat-line { transform: none; }
.stat .t-stat { white-space: nowrap; }
.stat .t-stat b { font-weight: 600; font-variant-numeric: tabular-nums; }
.stat .t-stat-cap { margin-top: 8px; }

/* ---------- Juodas skyrius ---------- */
.black { padding-bottom: 180px; }
.black-head .t-eyebrow { color: #86868b; margin-bottom: 56px; }
.black-media { position: relative; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; background: #111; will-change: transform; transform-origin: 50% 0; }
.black-media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
.black-quote { margin-top: 120px; text-align: center; }
.quote { max-width: 980px; margin: 0 auto; font-size: 56px; line-height: 1.07143; font-weight: 600; letter-spacing: -0.005em; color: #f5f5f7; }
.quote .w { color: #424245; transition: color 0.35s var(--ease); }
.quote .w.lit { color: #f5f5f7; }
.quote-by { display: block; margin-top: 40px; color: #86868b; }
@media (max-width: 1068px) { .quote { font-size: 44px; } .stats-grid { column-gap: 56px; } }
@media (max-width: 734px) {
  .stats-intro { margin-top: 28px; text-align: left; }
  .stats-grid { grid-template-columns: 1fr 1fr; column-gap: 20px; row-gap: 48px; margin-top: 64px; }
  .stat .t-stat { font-size: 40px; }
  .black-head .t-eyebrow { margin-bottom: 32px; }
  .black-media { aspect-ratio: 4 / 5; border-radius: 22px; }
  .black-quote { margin-top: 64px; text-align: left; }
  .quote { font-size: 32px; line-height: 1.125; letter-spacing: 0.004em; }
  .black { padding-bottom: 100px; }
}
