﻿/* ============================================
   FONTS
   ============================================ */
@font-face { font-family: 'HalisGR'; src: url('assets/fonty/HalisGRThin.woff') format('woff'); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: 'HalisGR'; src: url('assets/fonty/HalisGRThinItalic.woff') format('woff'); font-weight: 100; font-style: italic; font-display: swap; }
@font-face { font-family: 'HalisGR'; src: url('assets/fonty/HalisGRExtraLight.woff') format('woff'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'HalisGR'; src: url('assets/fonty/HalisGRExtraLightItalic.woff') format('woff'); font-weight: 200; font-style: italic; font-display: swap; }
@font-face { font-family: 'HalisGR'; src: url('assets/fonty/HalisGRLight.woff') format('woff'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'HalisGR'; src: url('assets/fonty/HalisGRLightItalic.woff') format('woff'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'HalisGR'; src: url('assets/fonty/HalisGRBook.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'HalisGR'; src: url('assets/fonty/HalisGRBookItalic.woff') format('woff'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'HalisGR'; src: url('assets/fonty/HalisGRRegular.woff') format('woff'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'HalisGR'; src: url('assets/fonty/HalisGRRegularItalic.woff') format('woff'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'HalisGR'; src: url('assets/fonty/HalisGRMedium.woff') format('woff'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'HalisGR'; src: url('assets/fonty/HalisGRMediumItalic.woff') format('woff'); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'HalisGR'; src: url('assets/fonty/HalisGRBold.woff') format('woff'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'HalisGR'; src: url('assets/fonty/HalisGRBoldItalic.woff') format('woff'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'HalisGR'; src: url('assets/fonty/HalisGRBlack.woff') format('woff'); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'HalisGR'; src: url('assets/fonty/HalisGRBlackItalic.woff') format('woff'); font-weight: 900; font-style: italic; font-display: swap; }

/* ============================================
   VARIABLES & RESET
   Light theme (default)
   ============================================ */
:root {
    /* Backgrounds */
    --bg:          #ffffff;
    --bg-alt:      #f4f4fa;
    --bg-card:     #ffffff;
    --bg-dark:  var(--bg-alt);
    --bg-dark2: var(--bg);

    /* Text */
    --text:        #111111;
    --text-muted:  #666666;

    /* Brand */
    --color-a: #2BD3BC;
    --color-b: #9627AB;
    --gradient: linear-gradient(135deg, #2BD3BC 0%, #9627AB 100%);

    /* Glass â€” light context */
    --glass-bg:        rgba(255,255,255,0.65);
    --glass-border:    rgba(255,255,255,0.80);
    --glass-shadow:    0 8px 32px rgba(0,0,0,0.06);
    --glass-highlight: inset 0 1px 0 rgba(255,255,255,0.95);

    /* Nav */
    --nav-scrolled-bg:     rgba(255,255,255,0.72);
    --nav-scrolled-border: rgba(255,255,255,0.55);
    --nav-link-color:      rgba(255,255,255,0.85);
    --nav-link-scrolled:   #666666;

    /* Misc */
    --border: #e5e5e8;
    --font:   'HalisGR', sans-serif;

    /* Container â€” obsah max 1200px, symetricky zarovnanĂ˝ */
    --pad-x: 4rem;
}

@media (min-width: 1201px) {
    :root { --pad-x: 12.5vw; }
}

/* ============================================
   DARK THEME
   Aktivuje se pĹ™es data-theme="dark" na <html>
   nebo odkomentovĂˇnĂ­m @media nĂ­Ĺľe
   ============================================ */
[data-theme="dark"],
[data-theme="dark"] body {
    --bg:       #0c0c18;
    --bg-alt:   #10101e;
    --bg-card:  #14142a;
    --text:       #f0f0f5;
    --text-muted: #8888aa;
    --glass-bg:        rgba(255,255,255,0.06);
    --glass-border:    rgba(255,255,255,0.10);
    --glass-shadow:    0 8px 32px rgba(0,0,0,0.4);
    --glass-highlight: inset 0 1px 0 rgba(255,255,255,0.08);
    --nav-scrolled-bg:     rgba(10,10,22,0.82);
    --nav-scrolled-border: rgba(255,255,255,0.08);
    --nav-link-scrolled:   #aaaabb;
    --border: rgba(255,255,255,0.08);
    --bg-dark:  #08080f;
    --bg-dark2: #0c0c18;
}

/* Sekce se svÄ›tlĂ˝m pozadĂ­m â€” pĹ™epsat v dark modu */
[data-theme="dark"] .o-nas         { background: var(--bg-alt); }
[data-theme="dark"] .section-title { color: var(--text); }

[data-theme="dark"] nav.scrolled {
    background: var(--nav-scrolled-bg);
    border-color: var(--nav-scrolled-border);
    box-shadow: 0 4px 32px rgba(0,0,0,0.3);
}
[data-theme="dark"] nav.scrolled .nav-links a { color: var(--nav-link-scrolled); }
[data-theme="dark"] nav.scrolled .theme-toggle {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.1);
    color: var(--text-muted);
}

/* SystĂ©movĂˇ preference â€” odkomentovat pro automatickĂ© pĹ™epĂ­nĂˇnĂ­:
@media (prefers-color-scheme: dark) { :root { --bg: #0c0c18; ... } }
*/

[data-theme="dark"] .process-wave path { opacity: 0.25; }

[data-theme="dark"] .tvorba { color: #fff; }
[data-theme="dark"] .tvorba-label { -webkit-text-fill-color: rgba(255,255,255,0.4); color: rgba(255,255,255,0.4); }
[data-theme="dark"] .funstat-label { color: rgba(255,255,255,0.42); }
[data-theme="dark"] .crew { background: var(--bg-alt); }
[data-theme="dark"] .klienti { color: #fff; }

::selection {
    background: rgba(150, 39, 171, 0.35);
    color: #fff;
}
::-moz-selection {
    background: rgba(150, 39, 171, 0.35);
    color: #fff;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.animate-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.75s ease var(--delay, 0s), transform 0.75s ease var(--delay, 0s);
}
.animate-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   DECORATIVE ORBS (liquid glass BG blobs)
   ============================================ */
.orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.orb-teal       { width: 560px; height: 560px; background: radial-gradient(circle, rgba(43,211,188,0.35) 0%, transparent 70%); top: -120px; left: -80px; }
.orb-purple     { width: 480px; height: 480px; background: radial-gradient(circle, rgba(150,39,171,0.3) 0%, transparent 70%); bottom: -80px; right: -60px; }
.orb-teal-soft  { width: 700px; height: 700px; background: radial-gradient(circle, rgba(43,211,188,0.12) 0%, transparent 70%); top: 50%; left: 55%; transform: translate(-50%,-50%); }
.orb-purple-dark { width: 800px; height: 800px; background: radial-gradient(circle, rgba(150,39,171,0.35) 0%, transparent 70%); top: -200px; right: -200px; }

/* ============================================
   UTILITY: GRADIENT TEXT
   ============================================ */
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   THEME TOGGLE (doÄŤasnĂ© umĂ­stÄ›nĂ­ v nav)
   ============================================ */
.theme-toggle {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: rgba(255,255,255,0.85);
    transition: background 0.3s, border-color 0.3s, color 0.3s;
    flex-shrink: 0;
}
.theme-toggle:hover {
    background: rgba(255,255,255,0.22);
    color: #fff;
}
nav.scrolled .theme-toggle {
    background: rgba(0,0,0,0.06);
    border-color: rgba(0,0,0,0.1);
    color: var(--text-muted);
}
nav.scrolled .theme-toggle:hover {
    background: rgba(0,0,0,0.1);
    color: var(--text);
}

.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .icon-moon { display: none; }
.theme-toggle .icon-sun  { display: block; }

[data-theme="dark"] .theme-toggle .icon-sun  { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* ============================================
   NAV
   ============================================ */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.6rem 4rem;
    transition: padding 0.4s ease, background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    border-bottom: 1px solid transparent;
}

nav.scrolled {
    padding: 0.9rem 4rem;
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border-color: rgba(255,255,255,0.55);
    box-shadow: 0 4px 32px rgba(0,0,0,0.06), inset 0 -1px 0 rgba(255,255,255,0.4);
}

.nav-logo img {
    height: 36px;
    width: auto;
    transition: filter 0.4s;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-links a {
    position: relative;
    padding-bottom: 4px;
    color: rgba(255,255,255,0.85);
    transition: color 0.3s;
}

/* gradient underline slide-in */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--gradient);
    border-radius: 1px;
    transition: width 0.35s ease;
}
.nav-links a:hover::after { width: 100%; }

nav.scrolled .nav-links a { color: var(--text-muted); }
nav.scrolled .nav-links a:hover { color: var(--text); }

/* ============================================
   HERO
   ============================================ */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    will-change: transform;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
}

.hero-tagline {
    font-size: clamp(1.4rem, 3.5vw, 2.8rem);
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.06em;
    text-shadow: 0 2px 32px rgba(0,0,0,0.55);
    line-height: 1.15;
}

/* SM BUTTON */
.sm-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: min(480px, 62vw);
    display: block;
    transition: opacity 0.25s, transform 0.25s;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.4));
}
.sm-btn:hover { opacity: 0.9; transform: scale(1.04); }
.sm-btn svg { width: 100%; height: auto; display: block; }

/* Recording blink */
@keyframes rec-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.1; }
}
.rec-dot { animation: rec-blink 1.2s ease-in-out infinite; }

/* HERO DECORATIONS */
.deco {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    opacity: 0.18;
}
.deco-star {
    width: 110px;
    top: 22%;
    right: 9%;
    animation: spin-slow 22s linear infinite;
    filter: drop-shadow(0 0 12px rgba(43,211,188,0.5));
}
.deco-circle {
    width: 75px;
    bottom: 28%;
    left: 7%;
    animation: spin-slow 16s linear infinite reverse;
    filter: drop-shadow(0 0 10px rgba(150,39,171,0.5));
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* HERO SERVICES â€” Apple Liquid Glass pill */
.hero-services-wrap {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    padding: 0 2rem 3.5rem;
    flex-shrink: 0;
}

.services-glass {
    position: relative;
    display: flex;
    align-items: stretch;
    width: min(940px, 90vw);
    background: rgba(255,255,255,0.13);
    backdrop-filter: blur(40px) saturate(110%);
    -webkit-backdrop-filter: blur(40px) saturate(110%);
    border: 1px solid rgba(255,255,255,0.24);
    border-radius: 50px;
    box-shadow:
        0 16px 56px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.40),
        inset 0 -1px 0 rgba(0,0,0,0.15);
    overflow: hidden;
}

/* Floating bubble â€” sleduje myĹˇ */
.sg-indicator {
    position: absolute;
    top: 7px;
    bottom: 7px;
    left: 0;
    width: 220px;
    background: linear-gradient(135deg, rgba(43,211,188,0.22) 0%, rgba(150,39,171,0.22) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 44px;
    border: 1px solid rgba(43,211,188,0.45);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.5),
        0 4px 20px rgba(43,211,188,0.15);
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity, width;
    transition: opacity 0.25s ease;
}

.sg-item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 1.4rem 1.8rem;
    color: rgba(255,255,255,0.75);
    gap: 0.75rem;
    transition: color 0.3s ease;
    user-select: none;
}
.sg-item:hover { color: #fff; }

.sg-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, rgba(43,211,188,0.2), rgba(150,39,171,0.2));
    border-radius: 50%;
    flex-shrink: 0;
}
.sg-icon svg {
    width: 14px;
    height: 14px;
}

.sg-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.sg-title {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.sg-sub {
    font-size: 0.73rem;
    color: rgba(255,255,255,0.42);
    transition: color 0.3s ease;
}
.sg-item:hover .sg-sub { color: rgba(255,255,255,0.75); }

.sg-sep {
    width: 1px;
    background: rgba(255,255,255,0.11);
    align-self: stretch;
    margin: 16px 0;
    flex-shrink: 0;
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-head { margin-bottom: 3.5rem; }
.section-head.centered { text-align: center; }

.section-label {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.7rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text);
}

.section-desc {
    margin-top: 0.8rem;
    font-size: 1rem;
    color: var(--text-muted);
}

/* ============================================
   BUTTON
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.9rem 2.4rem;
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border-radius: 100px;
    cursor: pointer;

    /* gradient s animacĂ­ */
    background: linear-gradient(135deg, #2BD3BC, #9627AB, #2BD3BC, #9627AB);
    background-size: 300% 300%;
    background-position: 0% 50%;

    /* liquid glass vrstva */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.3);
    border-top-color: rgba(255,255,255,0.6);
    border-bottom-color: rgba(0,0,0,0.14);

    color: #fff;

    box-shadow:
        0 4px 20px rgba(150,39,171,0.3),
        inset 0 1px 0 rgba(255,255,255,0.45),
        inset 0 -1px 0 rgba(0,0,0,0.12);

    transition: background-position 0.6s ease, transform 0.25s, box-shadow 0.25s;
}

/* specular highlight */
.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(160deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 55%);
    pointer-events: none;
}

.btn:hover {
    background-position: 100% 50%;
    transform: translateY(-2px);
    box-shadow:
        0 8px 32px rgba(150,39,171,0.45),
        inset 0 1px 0 rgba(255,255,255,0.5),
        inset 0 -1px 0 rgba(0,0,0,0.15);
}

/* ============================================
   TVORBA (dark)
   ============================================ */
.tvorba {
    background: var(--bg-dark);
    padding: 3rem var(--pad-x) 8rem;
    position: relative;
    overflow: hidden;
    color: var(--text);
}

.tvorba-headline-wrap {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.tvorba-label {
    flex-shrink: 0;
    margin-bottom: 0;
    padding-bottom: 0;
    background: none;
    -webkit-text-fill-color: var(--text-muted);
    color: var(--text-muted);
}
.tvorba-headline {
    flex: 1;
    display: flex;
    align-items: baseline;
    overflow: hidden;
}
.tvorba .section-title {
    font-size: clamp(3.5rem, 9vw, 8rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    flex-shrink: 0;
    will-change: transform;
}
.tvorba-line {
    height: 2px;
    width: 0;
    background: var(--gradient);
    opacity: 0.4;
    border-radius: 2px;
    flex-shrink: 0;
}
.tvorba .section-desc { color: rgba(255,255,255,0.5); }

.tvorba-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

/* Video card â€” ÄŤistĂ˝ image, glass overlay na hover */
.tv-card {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}
.tv-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 72px rgba(0,0,0,0.55);
}

.tv-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
    background: #0d0d1e;
}

.tv-thumb > img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: filter 0.5s ease, transform 0.5s ease;
    display: block;
}
.tv-card:hover .tv-thumb > img {
    filter: blur(5px) brightness(0.6);
    transform: scale(1.06);
}

/* Overlay â€” ztmavenĂ­ + blur na hover, overflow:hidden oĹ™Ă­zne notif pĹ™i animaci */
.tv-hover-overlay {
    position: absolute;
    inset: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(6,4,16,0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition:
        background      0.5s ease,
        backdrop-filter 0.5s ease;
    pointer-events: none;
}
.tv-card:hover .tv-hover-overlay {
    background: rgba(6,4,16,0.4);
}

/* Glass pill notification â€” sjede shora pĹ™es obrĂˇzek */
.tv-notif {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.1rem;
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.24);
    border-top-color: rgba(255,255,255,0.45);
    border-radius: 9999px;
    box-shadow:
        0 16px 56px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.40),
        inset 0 -1px 0 rgba(0,0,0,0.15);
    transform: translateY(-300%);
    opacity: 0;
    transition:
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        opacity   0.35s ease;
}
/* backdrop-filter na ::before pĹ™edchĂˇzĂ­ rozmazĂˇnĂ­ ikony */
.tv-notif::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background: rgba(255,255,255,0.13);
    backdrop-filter: blur(40px) saturate(110%);
    -webkit-backdrop-filter: blur(40px) saturate(110%);
    z-index: 0;
}
.tv-notif > * {
    position: relative;
    z-index: 1;
}
.tv-card:hover .tv-notif {
    transform: translateY(0);
    opacity: 1;
}

.tv-notif-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    max-width: 38px;
    display: block;
}

.tv-notif-app {
    display: block;
    font-size: 0.56rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.48);
    margin-bottom: 0.18rem;
}

.tv-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255,255,255,0.92);
    letter-spacing: 0.02em;
    line-height: 1.2;
    margin: 0;
}

.tvorba-cta {
    text-align: center;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

/* ============================================
   O NĂS / KDO JSME (light)
   ============================================ */
.o-nas {
    background: #f4f4fa;
    padding: 12rem var(--pad-x) 8rem;
    position: relative;
    overflow: hidden;
}

.o-nas-headline-wrap {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.o-nas-label {
    flex-shrink: 0;
    margin-bottom: 0;
    padding-bottom: 0;
    background: none;
    -webkit-text-fill-color: var(--text);
    color: var(--text);
}
.o-nas-headline {
    flex: 1;
    display: flex;
    align-items: baseline;
}
.o-nas-title {
    font-size: clamp(3.5rem, 9vw, 8rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.4;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: auto;
    will-change: transform;
}
.o-nas-line {
    height: 2px;
    width: 0;
    background: var(--gradient);
    opacity: 0.4;
    border-radius: 2px;
    flex-shrink: 0;
}

/* --- O NĂS: claim heading --- */
.o-nas-claim {
    font-size: clamp(1.7rem, 2.8vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 1.2rem;
}

/* --- O NĂS: intro grid --- */
.o-nas-intro {
    display: grid;
    grid-template-columns: 1fr 1.9fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
    margin-bottom: 4rem;
}

.o-nas-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.o-nas-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    line-height: 1.75;
}

/* --- Media area: photo + reel side by side --- */
.o-nas-media {
    display: flex;
    gap: 1.5rem;
    height: 36rem;
    align-items: center;
}

.o-nas-photo-wrap {
    flex: 1;
    height: calc(100% - 2rem); /* slightly shorter than the reel */
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    /* liquid glass frame */
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border: 1px solid rgba(255,255,255,0.55);
    border-bottom-color: rgba(255,255,255,0.2);
    box-shadow:
        0 24px 64px rgba(0,0,0,0.14),
        inset 0 1px 0 rgba(255,255,255,0.7),
        inset 0 -1px 0 rgba(0,0,0,0.06);
}

.o-nas-photo-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(160deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 55%);
    pointer-events: none;
    z-index: 1;
}

.o-nas-photo {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}

.o-nas-reel-wrap {
    flex-shrink: 0;
    align-self: stretch;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-left: -9rem;
    z-index: 2;
}

.o-nas-reel {
    height: 125%;
    width: auto;
    display: block;
    border-radius: 16px;
    filter: drop-shadow(-8px 16px 32px rgba(0,0,0,0.25));
}


/* --- Process steps --- */
.process-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-top: 1rem;
    position: relative;
    z-index: 1;
}

/* SVG wave line — desktop horizontal */
.process-wave {
    position: absolute;
    top: 0;
    left: 0; right: 0;
    width: 100%;
    height: 115px;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}


/* Mobilní vertikální vlnka */
.process-wave-mobile {
    display: none;
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: visible;
}

/* Path draw animation — dasharray/dashoffset set by JS */
#wave-path,
#wave-path-mobile {
    transition: stroke-dashoffset 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0.15s;
}

/* Glowing star dot — absolutely positioned HTML element, not inside the distorted SVG */
.wave-dot {
    position: absolute;
    top: 0; left: 0;
    width: 36px; height: 36px;
    margin: -18px 0 0 -18px;
    pointer-events: none;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.25s;
}
.wave-star-svg {
    width: 100%; height: 100%;
    overflow: visible;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.process-section .process-step:hover { transform: translateY(-10px) scale(1); }

/* Card reveal animation */
.process-card {
    opacity: 0;
    transform: translateY(32px) scale(0.94);
    transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.process-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.process-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 1.2rem;
    box-shadow: 0 8px 28px rgba(43,211,188,0.4);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}
.process-section .process-step:hover .process-icon {
    transform: scale(1.12);
    box-shadow: 0 14px 44px rgba(43,211,188,0.65), 0 0 0 3px rgba(43,211,188,0.18);
}
/* shared easing: smooth ease-out-cubic, no overshoot */
:root { --icon-ease: cubic-bezier(0.33, 1, 0.68, 1); }

/* bg fill */
.icon-bg-fill {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--bg);
    opacity: 0;
    z-index: 1;
    transition: opacity 0.22s var(--icon-ease) 0s;       /* exit: fast, no delay */
}
.process-section .process-step:hover .icon-bg-fill {
    opacity: 1;
    transition: opacity 0.38s var(--icon-ease) 0.06s;    /* entry: slightly delayed */
}

/* default svg icon */
.process-icon > svg {
    width: 24px; height: 24px;
    position: relative; z-index: 2;
    transition: opacity 0.22s var(--icon-ease),
                transform 0.28s var(--icon-ease);
}
.process-section .process-step:hover .process-icon > svg {
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.22s var(--icon-ease),
                transform 0.28s var(--icon-ease);
}

/* SMcircle â€” wrapper handles entry (opacity + scale + tilt) */
.icon-circle-wrap {
    position: absolute;
    inset: 0;
    z-index: 3;
    opacity: 0;
    transform: scale(0.82) rotate(var(--circle-base, 20deg));
    transition: opacity 0.22s var(--icon-ease) 0s,
                transform 0.28s var(--icon-ease) 0s;     /* exit */
}
.process-section .process-step:hover .icon-circle-wrap {
    opacity: 1;
    transform: scale(1) rotate(var(--circle-rot, -12deg));
    transition: opacity 0.38s var(--icon-ease) 0.04s,
                transform 0.42s var(--icon-ease) 0.04s;  /* entry */
}

/* image handles continuous slow spin, independent of wrapper transform */
.icon-circle {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.process-section .process-step:hover .icon-circle {
    animation: icon-spin 12s linear infinite;
}

@keyframes icon-spin {
    to { transform: rotate(360deg); }
}

.process-num {
    display: block;
    font-size: 1.1rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.4rem;
    letter-spacing: -0.01em;
    transition: transform 0.3s ease;
}
.process-section .process-step:hover .process-num {
    transform: scale(1.12);
}

.process-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.process-desc {
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 180px;
}

/* --- Fun stats banner --- */
.funstats-banner {
    background: var(--bg-dark);
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 1.25rem;
    padding: 5rem var(--pad-x);
    position: relative;
    overflow: hidden;
}

/* ambient glow behind cards */
.funstats-banner::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: min(700px, 90vw);
    height: 260px;
    background: radial-gradient(ellipse at center,
        rgba(43,211,188,0.13) 0%,
        rgba(150,39,171,0.10) 45%,
        transparent 72%
    );
    pointer-events: none;
}

.funstat {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 2.5rem 2rem 2.2rem;
    position: relative;
    border-radius: 22px;
    /* glass fill */
    background: rgba(255,255,255,0.065);
    backdrop-filter: blur(32px) saturate(1.4);
    -webkit-backdrop-filter: blur(32px) saturate(1.4);
    /* border */
    border: 1px solid rgba(255,255,255,0.13);
    /* shadows: depth + inner top shine */
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.22),
        inset 0 -1px 0 rgba(0,0,0,0.15),
        0 20px 60px rgba(0,0,0,0.30),
        0 4px 12px rgba(0,0,0,0.18);
    transition:
        transform 0.3s cubic-bezier(0.34,1.56,0.64,1),
        box-shadow 0.3s ease;
    overflow: hidden;
}

/* top specular edge â€” the "glass catching light" line */
.funstat::before {
    content: '';
    position: absolute;
    top: 0; left: 15%; right: 15%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(255,255,255,0.55) 30%,
        rgba(255,255,255,0.55) 70%,
        transparent
    );
    border-radius: 100%;
}

/* inner upper-half gloss â€” the "wet glass" sheen */
.funstat::after {
    content: '';
    position: absolute;
    inset: 0 0 50% 0;
    background: linear-gradient(to bottom,
        rgba(255,255,255,0.06) 0%,
        transparent 100%
    );
    border-radius: 22px 22px 0 0;
    pointer-events: none;
}

.funstat:hover {
    transform: translateY(-5px) scale(1.025);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.28),
        inset 0 -1px 0 rgba(0,0,0,0.18),
        0 32px 80px rgba(0,0,0,0.35),
        0 0 60px rgba(43,211,188,0.10);
}

.funstat-num {
    display: block;
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 1;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.65rem;
    position: relative;
    z-index: 1;
}

.funstat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

/* light theme adjustments */
[data-theme="light"] .funstat {
    background: rgba(255,255,255,0.55);
    border-color: rgba(0,0,0,0.07);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.9),
        inset 0 -1px 0 rgba(0,0,0,0.06),
        0 16px 48px rgba(0,0,0,0.10),
        0 4px 12px rgba(0,0,0,0.06);
}
[data-theme="light"] .funstat::before {
    background: linear-gradient(90deg,
        transparent,
        rgba(255,255,255,0.95) 30%,
        rgba(255,255,255,0.95) 70%,
        transparent
    );
}

/* ============================================
   CREW
   ============================================ */
.crew {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    background: var(--bg-alt);
    color: var(--text);
}

.crew-inner {
    position: relative;
    z-index: 2;
    padding: 0 min(5rem, 6vw);
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.crew .section-label {
    display: block;
    margin-bottom: 1rem;
}

.crew-content-col > .section-label {
    background: none;
    -webkit-text-fill-color: var(--text);
    color: var(--text);
}

/* Horní řada: foto vlevo, obsah vpravo */
.crew-top {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 3rem;
    align-items: stretch;
}

.crew-photo-col {
    border-radius: 18px;
    overflow: hidden;
    min-height: 360px;
    position: relative;
}

.crew-big-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.crew-photo-btn {
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    right: 0;
    width: fit-content;
    margin: 0 auto;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.crew-content-col {
    display: flex;
    flex-direction: column;
}

.crew-title {
    display: inline-block;
    width: fit-content;
    font-size: clamp(2rem, 3.8vw, 3.4rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 1.1rem;
}

.crew-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1.8rem;
}

/* Mapa uvnitř content sloupce — flex: 1 aby vyplnila výšku */
.crew-content-col .crew-map {
    flex: 1;
    min-height: 0;
    margin-top: 0;
}

/* ============================================
   PROWEB WIPE SECTION
   ============================================ */
.proweb-section {
    position: relative;
    width: 100%;
    height: 40vh;
    overflow: hidden;
}

.proweb-wrap {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
}

.proweb-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.proweb-top {
    clip-path: inset(0 100% 0 0);
    will-change: clip-path;
}

/* world map card â€” globe */
.crew-map {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: #040e1e;
}
[data-theme="light"] .crew-map {
    border-color: rgba(0,0,0,0.08);
    background: #deeaf8;
}

.crew-map-canvas-wrap {
    position: relative;
    background: #040e1e;
    overflow: hidden;
}
[data-theme="light"] .crew-map-canvas-wrap {
    background: #deeaf8;
}

#worldMapSvg {
    display: block;
    width: 100%;
    height: auto;
}

/* Text overlay â€” top-left of the canvas */
.crew-map-text-overlay {
    position: absolute;
    top: 0; left: 0;
    padding: 1.6rem 1.6rem 1.4rem;
    z-index: 3;
    pointer-events: none;
}

.crew-map .section-label {
    display: block;
    margin-bottom: 0.6rem;
}

.crew-map-tagline {
    font-size: clamp(1.05rem, 2.8vw, 1.65rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: rgba(255,255,255,0.92);
    margin: 0;
    text-shadow: 0 2px 18px rgba(0,0,0,0.8);
}

.crew-map-tagline em {
    font-style: normal;
    background: linear-gradient(120deg, #2BD3BC 0%, #9627AB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Stats bar â€” bottom of the canvas */
.crew-map-bottom-stats {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    display: flex;
    gap: 0;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(to top, rgba(2,8,16,0.92) 0%, rgba(2,8,16,0.4) 60%, transparent 100%);
    padding: 1.8rem 1.5rem 1.1rem;
}

.crew-map-stat {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.crew-map-stat + .crew-map-stat {
    border-left: 1px solid rgba(255,255,255,0.10);
    padding-left: 1.2rem;
    margin-left: 1.2rem;
}

.crew-map-stat-num {
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(120deg, #2BD3BC 0%, #9627AB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.crew-map-stat-label {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.45);
    margin-top: 0.2rem;
}

/* Globe city annotation cards */
.map-city-card {
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: none;
    white-space: nowrap;
    background: rgba(5, 13, 26, 0.64);
    backdrop-filter: blur(32px) saturate(180%);
    -webkit-backdrop-filter: blur(32px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.11);
    border-top: 1px solid rgba(255,255,255,0.26);
    border-radius: 13px;
    padding: 10px 16px 12px;
    min-width: 148px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 12px 40px rgba(0,0,0,0.5);
    overflow: hidden;
}
.map-city-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(148deg, rgba(255,255,255,0.10) 0%, transparent 48%);
    pointer-events: none;
}
[data-theme="light"] .map-city-card {
    background: rgba(255,255,255,0.84);
    border-color: rgba(0,0,0,0.06);
    border-top-color: rgba(255,255,255,0.96);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.9);
}
.mcc-city {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, #2BD3BC 0%, #9627AB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}
.map-city-card.home .mcc-city {
    background: linear-gradient(90deg, #9627AB, #c778ff);
    -webkit-background-clip: text;
    background-clip: text;
}
.mcc-bottom {
    display: flex;
    align-items: center;
    gap: 6px;
}
.mcc-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #2BD3BC;
    flex-shrink: 0;
    opacity: 0.75;
}
.mcc-dot.home { background: #9627AB; }
.mcc-country {
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.38);
}
[data-theme="light"] .mcc-country { color: rgba(0,0,0,0.40); }
.mcc-badge {
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: rgba(188,110,255,0.85);
    background: rgba(150,39,171,0.14);
    border: 1px solid rgba(150,39,171,0.24);
    border-radius: 4px;
    padding: 2px 5px;
}
[data-theme="light"] .mcc-badge { color: rgba(100,18,150,0.80); background: rgba(150,39,171,0.07); }

/* Location list below globe */
.crew-map-locations {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    padding: 0.95rem 1.6rem 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}
[data-theme="light"] .crew-map-locations { border-top-color: rgba(0,0,0,0.06); }
.crew-map-location {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.48rem;
    padding: 0.36rem 0.85rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 100px;
    cursor: default;
    transition: background 0.35s, border-color 0.35s, box-shadow 0.35s, transform 0.35s;
}
.crew-map-location:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.13);
}
[data-theme="light"] .crew-map-location {
    background: rgba(0,0,0,0.03);
    border-color: rgba(0,0,0,0.07);
}
[data-theme="light"] .crew-map-location:hover {
    background: rgba(0,0,0,0.06);
    border-color: rgba(0,0,0,0.12);
}
.crew-map-location.home {
    background: rgba(150,39,171,0.06);
    border-color: rgba(150,39,171,0.16);
}
.crew-map-location.home:hover {
    background: rgba(150,39,171,0.11);
    border-color: rgba(150,39,171,0.26);
}

/* â”€â”€ Gradient fill lives in ::before, fades in/out via opacity transition â”€â”€â”€ */
/* overflow:hidden on parent creates stacking context â†’ z-index:-1 stays inside */
.crew-map-location::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        to right,
        rgba(43,211,188,0.80),
        rgba(150,39,171,0.90),
        rgba(43,211,188,0.80)
    );
    background-size: 200% 100%;
    background-repeat: repeat-x;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.50s ease;
    pointer-events: none;
}
[data-theme="light"] .crew-map-location::before {
    background: linear-gradient(
        to right,
        rgba(43,211,188,0.63),
        rgba(150,39,171,0.68),
        rgba(43,211,188,0.63)
    );
    background-size: 200% 100%;
    background-repeat: repeat-x;
}

/* When active: fade in gradient + start scroll right-to-left */
.crew-map-location.active::before,
.crew-map-location.home.active::before {
    opacity: 1;
    animation: loc-flow-rtl 3s linear infinite;
}

@keyframes loc-flow-rtl {
    from { background-position: 0 0; }
    to   { background-position: 200% 0; }
}

/* Active badge â€” transparent bg reveals ::before, border transitions via color */
.crew-map-location.active,
.crew-map-location.home.active {
    border-color: rgba(43,211,188,0.65);
    background: transparent;
    transform: scale(1.08);
    animation: loc-glow-pulse 2.8s ease-in-out infinite;
}
[data-theme="light"] .crew-map-location.active,
[data-theme="light"] .crew-map-location.home.active {
    border-color: rgba(43,211,188,0.50);
    animation: loc-glow-pulse-light 2.8s ease-in-out infinite;
}

@keyframes loc-glow-pulse {
    0%, 100% { box-shadow: 0 0 10px rgba(43,211,188,0.22), 0 0 24px rgba(43,211,188,0.07); }
    50%       { box-shadow: 0 0 20px rgba(43,211,188,0.55), 0 0 42px rgba(150,39,171,0.22); }
}
@keyframes loc-glow-pulse-light {
    0%, 100% { box-shadow: 0 0  7px rgba(43,211,188,0.14), 0 0 16px rgba(43,211,188,0.04); }
    50%       { box-shadow: 0 0 14px rgba(43,211,188,0.34), 0 0 28px rgba(150,39,171,0.10); }
}

/* Shimmer â€” sweeps through once, pauses off-screen */
.crew-map-location.active::after,
.crew-map-location.home.active::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        108deg,
        transparent            20%,
        rgba(255,255,255,0.20) 46%,
        rgba(255,255,255,0.07) 54%,
        transparent            76%
    );
    background-size: 300% 100%;
    animation: loc-shimmer 2.2s ease-in-out infinite;
    pointer-events: none;
}
@keyframes loc-shimmer {
    0%   { background-position:  200% 0; }
    55%  { background-position: -100% 0; }
    100% { background-position: -100% 0; }
}

/* White text â€” readable on the gradient fill */
.crew-map-location.active .crew-map-location-name,
.crew-map-location.home.active .crew-map-location-name {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: #fff;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0,0,0,0.50);
}
[data-theme="light"] .crew-map-location.active .crew-map-location-name,
[data-theme="light"] .crew-map-location.home.active .crew-map-location-name {
    -webkit-text-fill-color: rgba(0,0,0,0.85);
    color: rgba(0,0,0,0.85);
    text-shadow: none;
}

.crew-map-location.active .crew-map-location-country,
.crew-map-location.home.active .crew-map-location-country {
    color: rgba(255,255,255,0.65);
}
[data-theme="light"] .crew-map-location.active .crew-map-location-country,
[data-theme="light"] .crew-map-location.home.active .crew-map-location-country {
    color: rgba(0,0,0,0.55);
}

/* Dot â€” double-ring ripple */
.crew-map-location.active .crew-map-location-dot    { background: #2BD3BC; }
.crew-map-location.home.active .crew-map-location-dot { background: #9627AB; }
.crew-map-location.active .crew-map-location-dot,
.crew-map-location.home.active .crew-map-location-dot {
    animation: loc-dot-ripple 1.8s ease-out infinite;
}
@keyframes loc-dot-ripple {
    0%   { transform: scale(1.0); box-shadow: 0 0 0 0   rgba(43,211,188,0.90), 0 0 0 0   rgba(43,211,188,0.45); }
    30%  { transform: scale(1.6); box-shadow: 0 0 0 3px rgba(43,211,188,0.50), 0 0 0 1px rgba(43,211,188,0.25); }
    100% { transform: scale(1.0); box-shadow: 0 0 0 9px rgba(43,211,188,0),    0 0 0 6px rgba(43,211,188,0);    }
}
.crew-map-location-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(43,211,188,0.60);
    flex-shrink: 0;
}
.crew-map-location.home .crew-map-location-dot { background: rgba(150,39,171,0.70); }
.crew-map-location-info { display: flex; flex-direction: column; }
.crew-map-location-name {
    font-size: 0.79rem;
    font-weight: 700;
    color: rgba(255,255,255,0.75);
    line-height: 1.2;
}
[data-theme="light"] .crew-map-location-name { color: rgba(0,0,0,0.70); }
.crew-map-location.home .crew-map-location-name { color: rgba(200,115,255,0.80); }
[data-theme="light"] .crew-map-location.home .crew-map-location-name { color: rgba(110,25,155,0.85); }
.crew-map-location-country {
    font-size: 0.62rem;
    font-weight: 500;
    color: rgba(255,255,255,0.30);
    line-height: 1;
}
[data-theme="light"] .crew-map-location-country { color: rgba(0,0,0,0.32); }
.crew-map-location-badge {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(200,115,255,0.58);
    background: rgba(150,39,171,0.07);
    border: 1px solid rgba(150,39,171,0.18);
    border-radius: 4px;
    padding: 2px 6px;
}

/* ============================================
   KLIENTI â€” nekoneÄŤnĂ˝ logo scroll
   ============================================ */
.klienti {
    background: var(--bg);
    padding: 7rem 0 6rem;
    overflow: hidden;
    color: var(--text);
}

[data-theme="dark"] .klienti { background: #06060e; }

.klienti-head {
    text-align: center;
    padding: 0 var(--pad-x);
    margin-bottom: 4.5rem;
}

.klienti-head .section-label {
    display: block;
    margin-bottom: 1rem;
}

.klienti-title {
    display: inline-block;
    font-size: clamp(3rem, 7vw, 7.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.95;
    margin-bottom: 1rem;
    padding-bottom: 0.05em;
    background: linear-gradient(to right, #2BD3BC, #9627AB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.klienti-sub {
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.logos-row {
    overflow: hidden;
    padding: 1.2rem 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.logos-track {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: max-content;
    will-change: transform;
}
.logo-slide-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
}

/* dark theme: white logos */
.logo-slide-item img {
    height: 40px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.38);
    transition: filter 0.35s;
}
.logo-slide-item img:hover { filter: brightness(0) invert(1) opacity(0.9); }

/* light theme: dark logos */
[data-theme="light"] .logo-slide-item img { filter: brightness(0) opacity(0.42); }
[data-theme="light"] .logo-slide-item img:hover { filter: brightness(0) opacity(0.85); }

/* ============================================
   KONTAKT â€” aurora background
   ============================================ */
.kontakt {
    padding: 8rem var(--pad-x);
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
}

[data-theme="dark"] .kontakt { background: #06060e; }

/* aurora blobs â€” much subtler on white background */
[data-theme="light"] .aurora-wrap-1 .aurora-blob {
    background: radial-gradient(ellipse at 55% 45%, rgba(100,30,185,0.18) 0%, transparent 58%);
}
[data-theme="light"] .aurora-wrap-2 .aurora-blob {
    background: radial-gradient(ellipse at 40% 50%, rgba(20,195,152,0.16) 0%, transparent 58%);
}
[data-theme="light"] .aurora-wrap-3 .aurora-blob,
[data-theme="light"] .aurora-wrap-4 .aurora-blob { opacity: 0.4; }

/* aurora layer */
.kontakt-aurora {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.aurora-wrap {
    position: absolute;
    will-change: transform;
}

.aurora-blob {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    filter: blur(90px);
}

.aurora-wrap-1 {
    width: clamp(420px, 72vw, 1060px);
    height: clamp(380px, 70vh, 860px);
    top: -20%;
    left: -15%;
}
.aurora-wrap-1 .aurora-blob {
    background: radial-gradient(ellipse at 55% 45%, rgba(72,10,148,0.48) 0%, transparent 58%);
    filter: blur(130px);
    animation: aurora-drift-1 16s ease-in-out infinite;
}

.aurora-wrap-2 {
    width: clamp(380px, 68vw, 1000px);
    height: clamp(350px, 68vh, 820px);
    top: -5%;
    right: -18%;
}
.aurora-wrap-2 .aurora-blob {
    background: radial-gradient(ellipse at 40% 50%, rgba(15,195,152,0.40) 0%, transparent 58%);
    filter: blur(120px);
    animation: aurora-drift-2 20s ease-in-out infinite;
}

.aurora-wrap-3 {
    width: clamp(180px, 30vw, 420px);
    height: clamp(180px, 28vh, 380px);
    bottom: -5%;
    left: 22%;
}
.aurora-wrap-3 .aurora-blob {
    background: radial-gradient(ellipse at 50% 50%, rgba(28,182,142,0.22) 0%, transparent 65%);
    filter: blur(90px);
    animation: aurora-drift-3 24s ease-in-out infinite;
}

.aurora-wrap-4 {
    width: clamp(160px, 26vw, 380px);
    height: clamp(160px, 26vh, 380px);
    bottom: 5%;
    right: 22%;
}
.aurora-wrap-4 .aurora-blob {
    background: radial-gradient(ellipse at 50% 50%, rgba(62,8,128,0.26) 0%, transparent 65%);
    filter: blur(90px);
    animation: aurora-drift-4 28s ease-in-out infinite;
}

@keyframes aurora-drift-1 {
    0%, 100% { transform: translate(0,   0)   scale(1);    }
    33%       { transform: translate(5%,  8%)  scale(1.09); }
    66%       { transform: translate(-3%, 4%)  scale(0.94); }
}
@keyframes aurora-drift-2 {
    0%, 100% { transform: translate(0,    0)   scale(1);    }
    40%       { transform: translate(-7%,  6%)  scale(1.12); }
    75%       { transform: translate(4%,  -5%)  scale(0.92); }
}
@keyframes aurora-drift-3 {
    0%, 100% { transform: translate(0,   0)   scale(1);    }
    30%       { transform: translate(8%, -6%)  scale(1.1);  }
    65%       { transform: translate(-4%, 3%)  scale(0.94); }
}
@keyframes aurora-drift-4 {
    0%, 100% { transform: translate(0,    0)   scale(1);    }
    50%       { transform: translate(6%, -8%)  scale(1.14); }
}

/* â”€â”€â”€ Contact layout â”€â”€â”€ */
.kontakt-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1160px;
}
.kontakt-head {
    margin-bottom: 4rem;
}
.kontakt-title {
    font-size: clamp(2.6rem, 5.5vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--text);
    margin: 0.6rem 0 1.1rem;
}
[data-theme="dark"] .kontakt-title { color: #f0f0f5; }
.kontakt-title em {
    font-style: normal;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.kontakt-sub {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 480px;
}

.kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 3rem;
    align-items: start;
}

/* Left column â€” info */
.kontakt-info-col {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.kontakt-avail {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.42rem 0.9rem;
    background: rgba(43,211,188,0.08);
    border: 1px solid rgba(43,211,188,0.20);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #2BD3BC;
    letter-spacing: 0.04em;
    align-self: flex-start;
    margin-bottom: 0.4rem;
}
[data-theme="light"] .kontakt-avail { background: rgba(43,211,188,0.07); }
.kontakt-avail-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #2BD3BC;
    box-shadow: 0 0 6px rgba(43,211,188,0.8);
    animation: pulse-avail 2s ease-in-out infinite;
}
@keyframes pulse-avail {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(43,211,188,0.8); }
    50%       { opacity: 0.5; box-shadow: 0 0 2px rgba(43,211,188,0.3); }
}

.kontakt-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    text-decoration: none;
    color: var(--text);
    transition: background 0.22s, border-color 0.22s, transform 0.22s;
    cursor: pointer;
}
[data-theme="light"] .kontakt-item { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.07); }
.kontakt-item:hover {
    background: rgba(43,211,188,0.07);
    border-color: rgba(43,211,188,0.22);
    transform: translateX(4px);
}
.kontakt-item-icon {
    width: 40px; height: 40px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(43,211,188,0.15), rgba(150,39,171,0.15));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #2BD3BC;
}
.kontakt-item-icon svg { width: 18px; height: 18px; }
.kontakt-item-label {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}
.kontakt-item-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}
[data-theme="dark"] .kontakt-item-value { color: rgba(255,255,255,0.88); }

/* Praha time display */
.kontakt-time {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    font-size: 0.82rem;
    color: var(--text-muted);
}
[data-theme="light"] .kontakt-time { background: rgba(0,0,0,0.025); border-color: rgba(0,0,0,0.05); }
.kontakt-time-city { font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.72rem; }
.kontakt-time-clock { font-family: monospace; font-size: 1rem; font-weight: 700; color: var(--text); letter-spacing: 0.08em; }
[data-theme="dark"] .kontakt-time-clock { color: rgba(255,255,255,0.85); }

/* Social links */
.kontakt-socials {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.4rem;
}
.kontakt-social {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.09);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: background 0.22s, border-color 0.22s, color 0.22s, transform 0.22s;
}
[data-theme="light"] .kontakt-social { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.07); }
.kontakt-social svg { width: 18px; height: 18px; }
.kontakt-social:hover {
    background: rgba(43,211,188,0.10);
    border-color: rgba(43,211,188,0.28);
    color: #2BD3BC;
    transform: translateY(-2px);
}

/* Right column â€” form */
.kontakt-form {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(40px) saturate(160%);
    -webkit-backdrop-filter: blur(40px) saturate(160%);
    border: 1px solid rgba(255,255,255,0.10);
    border-top: 1px solid rgba(255,255,255,0.22);
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 24px 60px rgba(0,0,0,0.22);
}
[data-theme="light"] .kontakt-form {
    background: rgba(255,255,255,0.72);
    border-color: rgba(255,255,255,0.90);
    border-top-color: rgba(255,255,255,0.98);
    box-shadow: 0 16px 48px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.8);
}

.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.form-field { display: flex; flex-direction: column; gap: 0.45rem; }
.form-field label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.form-field input,
.form-field textarea {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 10px;
    padding: 0.82rem 1rem;
    font-family: var(--font);
    font-size: 0.92rem;
    color: var(--text);
    outline: none;
    transition: border-color 0.22s, background 0.22s;
    resize: none;
}
[data-theme="light"] .form-field input,
[data-theme="light"] .form-field textarea {
    background: rgba(0,0,0,0.03);
    border-color: rgba(0,0,0,0.10);
    color: #111;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(128,128,160,0.5); }
.form-field input:focus,
.form-field textarea:focus {
    border-color: rgba(43,211,188,0.45);
    background: rgba(43,211,188,0.04);
}

/* Video type toggle */
.form-type-toggle {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.ftt-btn {
    padding: 0.5rem 1rem;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.09);
    background: rgba(255,255,255,0.04);
    font-family: var(--font);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
[data-theme="light"] .ftt-btn { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.10); }
.ftt-btn:hover { border-color: rgba(43,211,188,0.3); color: var(--text); }
.ftt-btn.active {
    background: linear-gradient(135deg, rgba(43,211,188,0.18), rgba(150,39,171,0.18));
    border-color: rgba(43,211,188,0.42);
    color: #2BD3BC;
}

.kontakt-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 0.4rem;
    align-self: flex-start;
}
.kontakt-submit-btn svg { width: 16px; height: 16px; }

.form-success {
    display: none;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.1rem;
    background: rgba(43,211,188,0.08);
    border: 1px solid rgba(43,211,188,0.25);
    border-radius: 10px;
    font-size: 0.88rem;
    color: #2BD3BC;
    font-weight: 600;
}
.form-success.visible { display: flex; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #04040c;
    color: rgba(255,255,255,0.45);
    font-size: 0.88rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding: 5rem 4rem 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand img {
    height: 34px;
    width: auto;
    margin-bottom: 1.2rem;
    opacity: 0.75;
    display: block;
}

.footer-brand p {
    color: rgba(255,255,255,0.3);
    font-size: 0.85rem;
    line-height: 1.75;
    max-width: 230px;
}

.footer-inner h4 {
    font-size: 0.68rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.22);
    margin-bottom: 1rem;
}

.footer-col address {
    font-style: normal;
    color: rgba(255,255,255,0.45);
    line-height: 1.75;
}

.footer-col p {
    color: rgba(255,255,255,0.45);
    margin-bottom: 0.25rem;
}

.footer-link {
    display: block;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}
.footer-link:hover { color: var(--color-a); }

.footer-bottom {
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.18);
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.18);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.5); }

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.lightbox.active { display: flex; }

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4,4,12,0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox-content {
    position: relative;
    z-index: 1;
    width: min(940px, 94vw);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.lightbox-close {
    position: absolute;
    top: -3rem; right: 0;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    line-height: 1;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

.lightbox-video {
    aspect-ratio: 16/9;
    background: #000;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}
.lightbox-video iframe { width: 100%; height: 100%; border: none; }

.yt-fallback {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.05em;
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.25);
    transition: color 0.2s;
}
.yt-fallback:hover { color: var(--color-a); }

/* ============================================
   VĂŤTE Ĺ˝E? â€” floating notification widget
   ============================================ */
.vite-ze {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 500;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.6rem;
}

.vite-ze-btn {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.6rem 1.1rem 0.6rem 0.75rem;
    background: rgba(8,8,20,0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(43,211,188,0.38);
    border-radius: 40px;
    color: #fff;
    font-family: var(--font);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
    transition: border-color 0.22s, box-shadow 0.22s;
}
.vite-ze-btn:hover,
.vite-ze:hover .vite-ze-btn {
    border-color: rgba(43,211,188,0.75);
    box-shadow: 0 4px 32px rgba(43,211,188,0.22), inset 0 1px 0 rgba(255,255,255,0.12);
}

.vite-ze-btn-icon {
    width: 24px;
    height: 24px;
    display: block;
}

/* notification card â€” slides down into view on hover */
.vite-ze-notif {
    position: relative;
    width: 268px;
    padding: 0.9rem 1rem;
    background: rgba(14,12,26,0.92);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(255,255,255,0.1);
    border-top-color: rgba(255,255,255,0.5);
    border-radius: 18px;
    box-shadow:
        inset 0 1.5px 2px rgba(255,255,255,0.22),
        inset 0 -1px 0 rgba(255,255,255,0.04),
        0 16px 48px rgba(0,0,0,0.55);
    /* hidden state: slightly above, transparent */
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition:
        transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
        opacity   0.32s ease;
}
.vite-ze:hover .vite-ze-notif {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.vite-ze-notif-top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.55rem;
}

.vite-ze-icon {
    width: 28px;
    height: 28px;
    display: block;
    flex-shrink: 0;
}

.vite-ze-app {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    flex: 1;
}

.vite-ze-time {
    font-size: 0.62rem;
    color: rgba(255,255,255,0.28);
}

.vite-ze-text {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.5;
}


/* ============================================
   HAMBURGER + MOBILE NAV
   ============================================ */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.20);
    border-radius: 50%;
    cursor: pointer;
    padding: 10px 9px;
    flex-shrink: 0;
}
.nav-hamburger span {
    display: block;
    height: 1.5px;
    background: rgba(255,255,255,0.9);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
nav.scrolled .nav-hamburger {
    background: rgba(0,0,0,0.06);
    border-color: rgba(0,0,0,0.10);
}
nav.scrolled .nav-hamburger span { background: var(--text); }
[data-theme="dark"] nav.scrolled .nav-hamburger span { background: rgba(255,255,255,0.82); }

.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 195;
    background: rgba(4, 4, 16, 0.97);
    backdrop-filter: blur(24px) saturate(120%);
    -webkit-backdrop-filter: blur(24px) saturate(120%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s;
}
.mobile-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.mobile-nav-link {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
    font-weight: 800;
    color: rgba(255,255,255,0.60);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    padding: 0.55rem 1.5rem;
    border-radius: 12px;
    transition: color 0.22s, background 0.22s;
}
.mobile-nav-link:hover,
.mobile-nav-link:active {
    color: #fff;
    background: rgba(255,255,255,0.06);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
    .tvorba-grid { grid-template-columns: 1fr 1fr; }
    .o-nas-intro { grid-template-columns: 1fr 1.6fr; gap: 2rem; }
    .o-nas-media { height: 22rem; }
    .o-nas-reel-wrap { width: 170px; }
    .process-section { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .crew-top { grid-template-columns: 1fr; }
    .crew-photo-col { min-height: 260px; max-height: 340px; }
    nav { padding: 1rem 1.5rem; }
    nav.scrolled { padding: 0.7rem 1.5rem; }
    .hero-services-wrap { padding: 0 1rem 2rem; }
    .services-glass { width: min(680px, 92vw); }
    .sg-item { padding: 1.2rem 1rem; }
    .sg-title { font-size: 0.85rem; }
    .sg-sub { font-size: 0.65rem; }
    .tvorba { padding: 5rem 1.5rem; }
    .tvorba-grid { grid-template-columns: 1fr; }
    .o-nas { padding: 5rem 1.5rem; }
    .o-nas-intro { grid-template-columns: 1fr; gap: 2rem; }
    .o-nas-media { height: auto; flex-direction: column; align-items: stretch; }
    .o-nas-photo-wrap { flex: 0 0 auto; height: 55vw; max-height: 320px; }
    .o-nas-reel-wrap {
        width: 100%;
        height: auto;
        align-self: auto;
        margin-left: 0;
    }
    .o-nas-reel { width: 100%; height: auto; }
    .tvorba-headline-wrap { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
    .tvorba-headline { width: 100%; }
    .o-nas-headline-wrap { flex-direction: column; gap: 0.5rem; align-items: flex-end; }
    .o-nas-headline { width: 100%; }
    .o-nas-label { align-self: flex-end; }
    .process-section { grid-template-columns: 1fr 1fr; }
    .funstats-banner { flex-direction: column; align-items: center; gap: 1rem; padding: 4rem 2rem; }
    .funstat { width: 100%; max-width: 380px; }
    .crew { min-height: 70vh; }
    .crew-inner {
        padding: 3rem 1.5rem 4rem;
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .klienti { padding: 4rem 0; }
    .klienti-head { padding: 0 1.5rem; }
    .kontakt { padding: 5rem 1.5rem; }
    .kontakt-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-inner { grid-template-columns: 1fr 1fr; padding: 3rem 2rem; }
    .footer-bottom { padding: 1.2rem 2rem; flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 600px) {
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
    .hero-tagline { font-size: clamp(1.1rem, 5vw, 1.8rem); }
    .sm-btn { width: min(320px, 80vw); }

    /* Process: glass notifikace s vertikální linkou a hvězdičkou vlevo */
    .process-section {
        display: flex;
        flex-direction: column;
        gap: 0.55rem;
        padding-top: 0.5rem;
        padding-left: 2.4rem;
        position: relative;
    }
    .process-wave { display: none; }
    .process-wave-mobile { display: block; }

    /* Gradient linka vlevo */
    .process-section::before {
        content: '';
        position: absolute;
        left: 0.9rem;
        top: 0.8rem;
        bottom: 0.8rem;
        width: 2px;
        background: linear-gradient(180deg, #2BD3BC 0%, #9627AB 100%);
        border-radius: 2px;
        opacity: 0.5;
    }

    /* Tečka na lince u každého boxu */
    .process-section .process-step::before {
        content: '';
        position: absolute;
        left: -1.75rem;
        top: 50%;
        transform: translateY(-50%);
        width: 8px; height: 8px;
        border-radius: 50%;
        background: #2BD3BC;
        box-shadow: 0 0 0 3px rgba(43,211,188,0.2);
        transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1),
                    background 0.35s ease,
                    box-shadow 0.35s ease;
        z-index: 4;
    }

    /* Glass karta */
    .process-step {
        display: grid;
        grid-template-columns: 44px 1fr;
        grid-template-rows: auto auto auto;
        column-gap: 0.8rem;
        align-items: center;
        text-align: left;
        padding: 0.75rem 0.9rem !important;
        background: rgba(255,255,255,0.05);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border: 1px solid rgba(255,255,255,0.09);
        border-top-color: rgba(255,255,255,0.2);
        border-radius: 16px;
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,0.14),
            0 4px 20px rgba(0,0,0,0.25);
        transition: background 0.3s ease,
                    border-color 0.3s ease,
                    box-shadow 0.3s ease;
    }

    /* Zvýraznění při scrollu */
    .process-section .process-step.scroll-active {
        background: rgba(255,255,255,0.09);
        border-color: rgba(255,255,255,0.15);
        border-top-color: rgba(255,255,255,0.35);
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,0.22),
            0 0 0 1px rgba(43,211,188,0.12),
            0 8px 32px rgba(0,0,0,0.35);
    }
    .process-section .process-step.scroll-active::before {
        transform: translateY(-50%) scale(1.6);
        background: linear-gradient(135deg, #2BD3BC, #9627AB);
        box-shadow: 0 0 10px rgba(43,211,188,0.65), 0 0 0 4px rgba(43,211,188,0.15);
    }

    .process-icon {
        grid-row: 1 / 4;
        width: 44px; height: 44px;
        margin-bottom: 0;
    }
    .process-num { grid-column: 2; margin-bottom: 0.06rem; font-size: 0.76rem; }
    .process-title { grid-column: 2; font-size: 0.92rem; margin-bottom: 0.1rem; }
    .process-desc { grid-column: 2; font-size: 0.72rem; max-width: none; }
    .process-section .process-step:hover { transform: none; }

    /* O NÁS title: zmenšit tak aby se "ROZTOČÍME TO!" vešel na řádek */
    .o-nas-title { font-size: clamp(1.6rem, 8vw, 3rem); }

    /* O NÁS media: row layout — foto vlevo větší, telefon vpravo menší (jako PC) */
    .o-nas-media {
        flex-direction: row;
        align-items: stretch;
        height: 54vw;
        max-height: 250px;
        gap: 0.6rem;
    }
    .o-nas-photo-wrap { flex: 1; height: 100%; max-height: none; }
    .o-nas-reel-wrap {
        width: 34%;
        flex-shrink: 0;
        height: auto;
        align-self: stretch;
        margin-left: 0;
    }
    .o-nas-reel { height: 118%; width: auto; }

    .form-row-2 { grid-template-columns: 1fr; }
    .kontakt-submit-btn { width: 100%; justify-content: center; align-self: stretch; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 1rem; }
    .vite-ze { bottom: 1rem; right: 1rem; }
    .vite-ze-notif { width: min(268px, calc(100vw - 2rem)); }
    .tvorba { padding: 4rem 1.2rem 5rem; }
    .o-nas { padding: 4rem 1.2rem; }
    .kontakt { padding: 4rem 1.2rem; }
    .funstats-banner { padding: 3rem 1.2rem; }

    /* Klienti: menší loga, menší mezery → více log vidět najednou */
    .klienti { padding: 3rem 0 2.5rem; }
    .klienti-head { margin-bottom: 2rem; }
    .logos-row { padding: 0.7rem 0; }
    .logos-track { gap: 2rem; }
    .logo-slide-item { height: 40px; }
    .logo-slide-item img { height: 28px; max-width: 100px; }
}

@media (max-width: 480px) {
    .services-glass {
        flex-direction: column;
        border-radius: 20px;
        width: min(340px, 88vw);
    }
    .sg-sep {
        width: auto;
        height: 1px;
        align-self: stretch;
        margin: 0 1.2rem;
    }
    .sg-item {
        padding: 0.85rem 1.1rem;
        justify-content: flex-start;
    }
    .sg-indicator { display: none; }
    .tvorba-grid { gap: 1rem; }
    .tv-card:hover { transform: none; }
    .crew-map-locations { gap: 0.35rem; }
    .kontakt-form { padding: 1.5rem; }
    .footer-inner { padding: 2.5rem 1.2rem; }
    .footer-bottom { padding: 1rem 1.2rem; }

    /* Klienti extra malé — ještě víc log */
    .logos-track { gap: 1.5rem; }
    .logo-slide-item { height: 34px; }
    .logo-slide-item img { height: 24px; max-width: 80px; }
    .logos-row { padding: 0.55rem 0; }
}

/* ============================================
   NAV ACTIVE STATE (portfolio / projekt)
   ============================================ */
.nav-links a.nav-active { color: var(--color-a); }
nav.scrolled .nav-links a.nav-active { color: var(--color-a); }
.nav-links a.nav-active::after { width: 100%; }

/* ============================================
   PORTFOLIO PAGE — HERO
   ============================================ */
.pf-hero {
    position: relative;
    overflow: hidden;
    background: var(--bg);
    padding: 10rem var(--pad-x) 5rem;
    text-align: center;
}
.pf-hero .orb-teal  { top: -60px; left: -80px; }
.pf-hero .orb-purple { bottom: -80px; right: -60px; }
.pf-hero-inner { position: relative; z-index: 1; }
.pf-hero-title {
    font-size: clamp(3rem, 9vw, 7rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #2BD3BC 0%, #9627AB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.15;
    margin: 0.5rem auto 1rem;
    width: fit-content;
}
.pf-hero-sub {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto;
}

/* ============================================
   PORTFOLIO PAGE — FILTER (glass style)
   ============================================ */
.pf-section { padding: 3rem var(--pad-x) 6rem; background: var(--bg); }
.pf-filter-wrap {
    display: flex;
    justify-content: center;
    padding-bottom: 3.5rem;
    overflow-x: auto;
}

.pf-glass {
    position: relative;
    display: inline-flex;
    align-items: stretch;
    background: rgba(0,0,0,0.05);
    backdrop-filter: blur(40px) saturate(110%);
    -webkit-backdrop-filter: blur(40px) saturate(110%);
    border: 1px solid rgba(0,0,0,0.10);
    border-radius: 50px;
    box-shadow:
        0 8px 32px rgba(0,0,0,0.07),
        inset 0 1px 0 rgba(255,255,255,0.70),
        inset 0 -1px 0 rgba(0,0,0,0.06);
    overflow: hidden;
}
[data-theme="dark"] .pf-glass {
    background: rgba(255,255,255,0.13);
    border-color: rgba(255,255,255,0.24);
    box-shadow:
        0 16px 56px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.40),
        inset 0 -1px 0 rgba(0,0,0,0.15);
}

/* Plovoucí bublina — přesná kopie sg-indicator z homepage */
.pf-glass-indicator {
    position: absolute;
    top: 7px;
    bottom: 7px;
    left: 0;
    width: 220px;
    background: linear-gradient(135deg, rgba(43,211,188,0.22) 0%, rgba(150,39,171,0.22) 100%);
    border-radius: 44px;
    border: 1px solid rgba(43,211,188,0.45);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.5),
        0 4px 20px rgba(43,211,188,0.15);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    will-change: left, width;
}

.pf-filter-btn {
    background: none;
    border: none;
    font-family: var(--font);
    cursor: pointer;
    user-select: none;
    /* sg-item layout */
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 1.1rem 1.5rem;
    color: var(--text-muted);
    gap: 0.7rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}
.pf-filter-btn:hover { color: var(--text); }
.pf-filter-btn.active { color: var(--text); }
[data-theme="dark"] .pf-filter-btn       { color: rgba(255,255,255,0.65); }
[data-theme="dark"] .pf-filter-btn:hover { color: #fff; }
[data-theme="dark"] .pf-filter-btn.active { color: #fff; }

.pf-glass-item .sg-sub { color: var(--text-muted); transition: color 0.3s; }
.pf-filter-btn:hover .sg-sub { color: var(--text); }
.pf-filter-btn.active .sg-sub { color: var(--color-a); }
[data-theme="dark"] .pf-glass-item .sg-sub { color: rgba(255,255,255,0.42); }
[data-theme="dark"] .pf-filter-btn:hover .sg-sub { color: rgba(255,255,255,0.75); }
[data-theme="dark"] .pf-filter-btn.active .sg-sub { color: rgba(43,211,188,0.85); }

/* ============================================
   PORTFOLIO PAGE — GRID + CARDS
   ============================================ */
.pf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.pf-empty { text-align: center; color: var(--text-muted); padding: 4rem 0; font-size: 1rem; }

.pf-card {
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}
.pf-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.25); }
.pf-card-link { display: block; color: inherit; text-decoration: none; }

.pf-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.pf-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.pf-card:hover .pf-thumb img { transform: scale(1.04); }

.pf-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 30%, rgba(0,0,0,0.65) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
}
.pf-card:hover .pf-overlay { opacity: 1; }

.pf-notif {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 12px;
    padding: 0.65rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    max-width: 90%;
    transform: translateY(-6px);
    transition: transform 0.35s ease;
}
.pf-card:hover .pf-notif { transform: translateY(0); }
.pf-notif-icon { width: 26px; height: 26px; border-radius: 6px; flex-shrink: 0; }
.pf-notif-body { display: flex; flex-direction: column; }
.pf-notif-app  { font-size: 0.68rem; opacity: 0.65; color: #fff; }
.pf-notif-title { font-size: 0.82rem; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }

.pf-arrow {
    width: 32px; height: 32px;
    background: var(--gradient);
    border-radius: 50%;
    padding: 8px;
    color: #fff;
    align-self: flex-end;
    flex-shrink: 0;
}

.pf-info { padding: 1.1rem 1.2rem 1.3rem; }
.pf-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.7rem;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}
.pf-badge--commercial  { background: rgba(43,211,188,0.12); color: #2BD3BC; }
.pf-badge--music-video { background: rgba(150,39,171,0.15); color: #cc70e0; }
.pf-badge--aftermovie  { background: rgba(255,170,50,0.12);  color: #ffaa44; }
.pf-badge--jine        { background: rgba(255,255,255,0.06); color: var(--text-muted); }

.pf-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    line-height: 1.35;
}
.pf-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ============================================
   PROJEKT — BREADCRUMB
   ============================================ */
.pr-breadcrumb {
    padding: 5.5rem var(--pad-x) 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    background: var(--bg);
}
.pr-breadcrumb a { color: var(--text-muted); transition: color 0.2s; }
.pr-breadcrumb a:hover { color: var(--color-a); }
.pr-breadcrumb span[aria-current] { color: var(--text); }

/* ============================================
   PROJEKT — HERO VIDEO / IMAGE
   ============================================ */
.pr-hero { background: var(--bg); padding: 1.5rem var(--pad-x) 0; }
.pr-video-wrap {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 24px 80px rgba(0,0,0,0.4);
}
.pr-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.pr-thumb-hero { border-radius: 16px; overflow: hidden; max-height: 540px; }
.pr-thumb-hero img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================
   PROJEKT — CONTENT
   ============================================ */
.pr-content { background: var(--bg); padding: 3rem var(--pad-x) 4rem; }
.pr-content-inner { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; }
.pr-header .pf-badge { margin-bottom: 1rem; }
.pr-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}
.pr-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 580px;
}

.pr-meta-card {
    background: var(--bg-card, var(--bg-alt));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    position: sticky;
    top: 5rem;
}
.pr-meta-item { padding: 0.8rem 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.pr-meta-item:last-of-type { border-bottom: none; }
.pr-meta-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.pr-meta-val { font-size: 0.9rem; font-weight: 600; text-align: right; }

/* ============================================
   PROJEKT — BTS
   ============================================ */
.pr-bts {
    background: var(--bg-alt, var(--bg));
    padding: 4rem var(--pad-x);
}
.pr-bts-inner { max-width: 1200px; margin: 0 auto; }
.pr-bts-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 900;
    margin: 0.5rem 0 2rem;
}
.pr-bts-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.pr-bts-photo {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    aspect-ratio: 4/3;
    position: relative;
}
.pr-bts-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s; }
.pr-bts-photo:hover img { transform: scale(1.06); }
.pr-bts-video-wrap {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}
.pr-bts-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* BTS Lightbox */
.bts-lightbox-img-wrap { display: flex; align-items: center; justify-content: center; }
.bts-lightbox-img-wrap img { max-width: 90vw; max-height: 82vh; border-radius: 12px; object-fit: contain; }

/* ============================================
   PROJEKT — RELATED + BACK
   ============================================ */
.pr-related { background: var(--bg); padding: 4rem var(--pad-x); border-top: 1px solid var(--border); }
.pr-related-inner { max-width: 1100px; margin: 0 auto; }
.pr-related-title { font-size: 1.3rem; font-weight: 800; margin-bottom: 1.5rem; }
.pr-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pr-related-card { border-radius: 12px; overflow: hidden; background: var(--bg-card, var(--bg-alt)); border: 1px solid var(--border); transition: transform 0.25s; display: block; }
.pr-related-card:hover { transform: translateY(-4px); }
.pr-related-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.pr-related-info { padding: 0.8rem 1rem 1rem; }
.pr-related-info h3 { font-size: 0.9rem; font-weight: 700; margin-top: 0.4rem; }

.pr-back-wrap { text-align: center; padding: 3rem var(--pad-x) 5rem; background: var(--bg); }
.pr-back-btn { gap: 0.5rem; }

.pr-not-found { text-align: center; padding: 10rem var(--pad-x); }
.pr-not-found h1 { font-size: 2rem; margin-bottom: 1rem; }

.pr-loading { display: flex; align-items: center; justify-content: center; min-height: 60vh; }
.pr-loading-spinner {
    width: 40px; height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--color-a);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================
   RESPONSIVE — PORTFOLIO + PROJEKT
   ============================================ */
@media (max-width: 1024px) {
    .pf-grid { grid-template-columns: repeat(2, 1fr); }
    .pr-content-inner { grid-template-columns: 1fr; }
    .pr-meta-card { position: static; }
    .pr-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .pf-hero { padding: 8rem 1.5rem 3.5rem; }
    .pf-section { padding: 0 1.5rem 4rem; }
    .pf-filter-wrap { justify-content: flex-start; -webkit-overflow-scrolling: touch; padding: 0 0 2rem; }
    .pf-glass { border-radius: 20px; }
    .pf-filter-btn { padding: 0.85rem 1rem; }
    .pf-filter-btn .sg-sub { display: none; }
    .pf-grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .pr-hero, .pr-content, .pr-bts, .pr-related, .pr-back-wrap, .pr-breadcrumb { padding-left: 1.5rem; padding-right: 1.5rem; }
    .pr-related-grid { grid-template-columns: 1fr; }
    .pr-bts-gallery { grid-template-columns: repeat(2, 1fr); }
}
}