/* ============================================================
   AP2 Industry – návrh v2: fotografie výroby, masivní 3D štít
   ============================================================ */
/* 3D štít (WebGL) */
.shield3d { --w: min(340px, 72vw); position: relative; width: var(--w); aspect-ratio: 449 / 560; perspective: none; }
.shield3d canvas { position: absolute; left: -16%; top: -10%; width: 132%; height: 120%; z-index: 1; pointer-events: none; }
.shield3d .shield3d-img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0,0,0,.6)); }
.shield3d.gl-on .shield3d-img { visibility: hidden; }
.shield3d-floor { animation: none !important; left: 6%; right: 6%; bottom: -8%; height: 8%; transition: none; }
@media (max-width: 960px) { .shield3d { --w: min(240px, 60vw); } }

/* fotografie – společné */
.hero { position: relative; isolation: isolate; }
.hero > .container { position: relative; z-index: 2; }
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); opacity: .62; transform-origin: 60% 40%; animation: ap2-kenburns 34s ease-in-out infinite alternate; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.028) 0 1px, transparent 1px 3px),
    linear-gradient(90deg, rgba(6,7,9,.94) 0%, rgba(6,7,9,.78) 42%, rgba(6,7,9,.42) 100%),
    linear-gradient(0deg, #0b0d10 0%, transparent 28%);
}
@keyframes ap2-kenburns { from { transform: scale(1.04) translate3d(0,0,0); } to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); } }

.photo-band { position: relative; height: clamp(220px, 34vw, 500px); overflow: hidden; background: #08090b; }
.photo-band img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; filter: grayscale(1) contrast(1.1); opacity: .7; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 3px), linear-gradient(180deg, #0b0d10 0%, rgba(11,13,16,.25) 30%, rgba(11,13,16,.25) 70%, #0b0d10 100%); }
.photo-band::before, .hero-photo-edge { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; z-index: 2; background: linear-gradient(90deg, transparent, #f2f4f6 50%, transparent); opacity: .55; }

/* vnitřní stránky – fotobanner v hlavičce */
.page-hero .hero-media img { opacity: .5; }
.page-hero .hero-media::after { background: repeating-linear-gradient(0deg, rgba(255,255,255,.028) 0 1px, transparent 1px 3px), linear-gradient(90deg, rgba(6,7,9,.95) 0%, rgba(6,7,9,.82) 50%, rgba(6,7,9,.55) 100%), linear-gradient(0deg, #0b0d10 0%, transparent 35%); }

/* dekorativní HUD (výchozí skrytý) */
.hud { display: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none; transform: scale(1.04); }
  .photo-band img { transform: none !important; }
}

/* Návrh 2 – Smart Factory / AI HUD: tenké chromové HUD linky, počítadla, foto příběh robotizace */
.v-n2 { --hud: rgba(226,231,236,.55); --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, monospace; }
.v-n2 .hud { display: block; position: absolute; inset: 88px 4% 36px; z-index: 1; pointer-events: none; }
.v-n2 .hud i { position: absolute; width: 26px; height: 26px; border: 1px solid var(--hud); }
.v-n2 .hud .tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.v-n2 .hud .tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.v-n2 .hud .bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.v-n2 .hud .br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.v-n2 .hud .scan { left: 0; right: 0; top: 0; width: auto; height: 1px; border: 0; background: linear-gradient(90deg, transparent, rgba(240,244,248,.7), transparent); animation: ap2-scan 7s linear infinite; }
.v-n2 .hud span { position: absolute; font: 500 .68rem/1 var(--mono); letter-spacing: .22em; color: #c3c9d0; }
.v-n2 .hud .t1 { top: 8px; left: 40px; } .v-n2 .hud .t2 { top: 8px; right: 40px; } .v-n2 .hud .t3 { bottom: 8px; left: 40px; }
.v-n2 .hud .t1::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; background: #e9edf1; border-radius: 50%; box-shadow: 0 0 8px #fff; animation: ap2-blink 1.6s steps(2) infinite; }
@keyframes ap2-scan { from { transform: translateY(0); opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } to { transform: translateY(calc(100vh - 200px)); opacity: 0; } }
@keyframes ap2-blink { 50% { opacity: .2; } }
.v-n2.home .hero { padding: 150px 0 90px; min-height: 92svh; }
.v-n2 .hero-media img { opacity: .55; }
.v-n2 .hero-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background-image: linear-gradient(rgba(220,226,232,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(220,226,232,.06) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 70% 45%, #000 0%, transparent 70%); }
.v-n2 .eyebrow { font-family: var(--mono); letter-spacing: .2em; }
.v-n2 .eyebrow::before { content: "▸ "; }
.v-n2 h1, .v-n2 h2 { text-transform: uppercase; letter-spacing: .02em; }
.v-n2 .stats { gap: 0; border: 1px solid rgba(220,226,232,.2); background: rgba(8,9,11,.55); backdrop-filter: blur(6px); margin-top: 64px; }
.v-n2 .stat { padding: 22px 24px; border-right: 1px solid rgba(220,226,232,.14); background: none; box-shadow: none; border-radius: 0; position: relative; }
.v-n2 .stat:last-child { border-right: 0; }
.v-n2 .stat::before { content: ""; position: absolute; left: 24px; top: 0; width: 28px; height: 2px; background: #e9edf1; }
.v-n2 .stat strong { font-family: var(--mono); font-weight: 600; font-size: 2.4rem; }
.v-n2 .card { border-radius: 0; position: relative; }
.v-n2 .card::after { content: ""; position: absolute; right: -1px; top: -1px; width: 18px; height: 18px; border-top: 1px solid var(--hud); border-right: 1px solid var(--hud); }
.v-n2 .btn, .v-n2 .main-nav .nav-cta, .v-n2 .chip, .v-n2 .icon { border-radius: 0; }
.v-n2 .btn { font-family: var(--mono); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; }
.v-n2 .photo-band { height: clamp(240px, 30vw, 440px); }
.v-n2 .photo-band.story { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; height: auto; background: #050607; }
.v-n2 .photo-band.story figure { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.v-n2 .photo-band.story img { top: 0; height: 100%; transform: none; }
.v-n2 .photo-band.story figure::after { content: attr(data-n); position: absolute; left: 18px; bottom: 14px; font: 600 .8rem var(--mono); letter-spacing: .2em; color: #e9edf1; z-index: 2; }
.v-n2 .page-hero { padding: 150px 0 90px !important; }
@media (max-width: 960px) {
  .v-n2 .hud { inset: 74px 3% 20px; } .v-n2 .hud .t2 { display: none; }
  .v-n2.home .hero { min-height: auto; padding: 110px 0 60px; }
  .v-n2 .stat:nth-child(2) { border-right: 0; } .v-n2 .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(220,226,232,.14); }
  .v-n2 .photo-band.story { grid-template-columns: 1fr 1fr; } .v-n2 .photo-band.story figure:last-child { grid-column: span 2; aspect-ratio: 16/7; }
}
@media (prefers-reduced-motion: reduce) { .v-n2 .hud .scan, .v-n2 .hud .t1::before { animation: none; } }
