/* Staff mobile app page (landing/aplikacja-mobilna-autodetailing) on top of home_v2.css: store buttons,
   hero phones, phone pairs in the feature rows, the screen showcase and the start steps. */

.hv2 .hv2-store { gap: 8px; }
.hv2 .hv2-store i { font-size: 22px; line-height: 1; }

/* Hero: a large phone with a smaller one overlapping its lower left corner (stacked side by side below 992 px). */
.hv2-app-hero { align-items: center; }
.hv2-app-hero__phones { position: relative; display: flex; justify-content: center; padding: 8px 0 24px; min-width: 0; }
.hv2-app-hero__phones::before {
    content: ''; position: absolute; inset: 10% 8% 10% 8%;
    background: radial-gradient(closest-side, rgba(60, 192, 110, 0.30), rgba(60, 192, 110, 0) 100%);
    filter: blur(40px); pointer-events: none;
}
.hv2-app-hero__back { position: relative; max-width: 290px; }
.hv2-app-hero__front { position: absolute; left: 6%; bottom: 0; width: 46%; max-width: 210px; z-index: 2; }
@media (max-width: 991.98px) {
    .hv2-app-hero__back { max-width: 240px; margin-left: 24%; }
    .hv2-app-hero__front { left: 4%; width: 44%; }
}

/* Phones in the feature rows: one phone, or two with the second one smaller and lower. */
.hv2-app-phones { gap: 20px; align-items: flex-end; }
.hv2-app-phones .hv2-phone { max-width: 280px; }
.hv2-app-phones--2 .hv2-phone { max-width: 250px; }
.hv2-app-phones--2 .hv2-phone--sm { max-width: 210px; margin-bottom: -28px; }
@media (max-width: 575.98px) {
    .hv2-app-phones--1 .hv2-phone { max-width: 240px; }
    .hv2-app-phones--2 { gap: 12px; }
    .hv2-app-phones--2 .hv2-phone { max-width: 52%; }
    .hv2-app-phones--2 .hv2-phone--sm { max-width: 44%; margin-bottom: -16px; }
}
.hv2-app-note { margin: 0; text-align: center; color: var(--hv2-muted); font-size: 15px; }

/* Screen showcase: the active phone large in the middle, previous / next smaller and dimmed at its sides
   (from 768 px), screen names as buttons below. mobile_app_gallery.js sets is-active / is-prev / is-next. */
.hv2-showcase { margin-top: 40px; }
.hv2-showcase__stage { position: relative; height: 680px; touch-action: pan-y; user-select: none; }
.hv2-showcase__item {
    position: absolute; top: 0; left: 50%; width: 280px; margin: 0;
    transform: translateX(-50%) scale(.7); opacity: 0; pointer-events: none;
    transition: transform .45s ease, opacity .45s ease, filter .45s ease;
}
.hv2-showcase__item .hv2-phone { max-width: none; box-shadow: 0 30px 60px rgba(20, 39, 58, .22); }
.hv2-showcase__item.is-active { transform: translateX(-50%) scale(1); opacity: 1; z-index: 3; pointer-events: auto; }
.hv2-showcase__item.is-prev, .hv2-showcase__item.is-next { opacity: .55; filter: saturate(.6); z-index: 2; pointer-events: auto; cursor: pointer; }
.hv2-showcase__item.is-prev { transform: translateX(calc(-50% - 260px)) scale(.8) rotate(-4deg); }
.hv2-showcase__item.is-next { transform: translateX(calc(-50% + 260px)) scale(.8) rotate(4deg); }
.hv2-showcase__arrow {
    position: absolute; top: 50%; z-index: 4; transform: translateY(-50%);
    width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--hv2-line); background: #ffffff;
    color: var(--hv2-navy); font-size: 28px; line-height: 1; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 20px rgba(20, 39, 58, .12);
}
.hv2-showcase__arrow:hover { background: var(--hv2-navy); color: #ffffff; }
.hv2-showcase__arrow:focus-visible, .hv2-showcase__tab:focus-visible { outline: 2px solid var(--hv2-green); outline-offset: 2px; }
.hv2-showcase__arrow--prev { left: calc(50% - 470px); }
.hv2-showcase__arrow--next { right: calc(50% - 470px); }
.hv2-showcase__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.hv2-showcase__tab {
    min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--hv2-line); background: #ffffff;
    color: var(--hv2-navy); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
}
.hv2-showcase__tab:hover { border-color: var(--hv2-green); color: var(--hv2-green); }
.hv2-showcase__tab.is-active { background: var(--hv2-navy); border-color: var(--hv2-navy); color: #ffffff; }
@media (max-width: 991.98px) {
    .hv2-showcase__arrow--prev { left: 0; }
    .hv2-showcase__arrow--next { right: 0; }
}
/* Phones: the same scene, smaller — the neighbours peek in at the screen edges; swipe or tap them. */
@media (max-width: 767.98px) {
    .hv2-showcase { overflow: hidden; margin-left: -16px; margin-right: -16px; }
    .hv2-showcase__stage { height: 470px; }
    .hv2-showcase__item { width: 200px; }
    .hv2-showcase__item.is-prev { transform: translateX(calc(-50% - 165px)) scale(.8) rotate(-4deg); }
    .hv2-showcase__item.is-next { transform: translateX(calc(-50% + 165px)) scale(.8) rotate(4deg); }
    .hv2-showcase__arrow { display: none; }
    .hv2-showcase__tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 16px 0 0; padding: 0 16px 6px; scrollbar-width: none; }
    .hv2-showcase__tab { flex: none; font-size: 14px; }
}
}
@media (prefers-reduced-motion: reduce) { .hv2-showcase__item { transition: none; } }

/* How to start: numbered steps on the navy section, the login screen on the right. */
.hv2-app-steps { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.hv2-app-steps li { display: flex; gap: 14px; align-items: flex-start; color: var(--hv2-on-navy); font-size: 17px; line-height: 1.5; }
.hv2-app-steps strong { color: #ffffff; }
.hv2-app-steps__num {
    flex: none; display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%; background: var(--hv2-green-light); color: #0b1c2b; font-weight: 800;
}
.hv2-app-login { max-width: 260px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 255, 255, 0.12); }
@media (max-width: 991.98px) { .hv2-app-login { max-width: 220px; } }

/* Zoom badge on phone screenshots (landing/zoom.js): smaller, so it covers less of the app's menu bar. */
.hv2-phone .hv2-zoom__icon { width: 28px; height: 28px; right: 8px; bottom: 8px; background-size: 16px; }
