/* ============================================================
   Travníky a závlahy — design system + animace
   ============================================================ */

:root {
    --bg: #0a0a0a;
    --bg-elevated: #111111;
    --bg-card: #161616;
    --line: rgba(255, 255, 255, 0.08);
    --text: #e7e7e7;
    --muted: #a3a3a3;
    --white: #ffffff;
    --emerald: #34d399;
    --emerald-deep: #10b981;
    --emerald-dim: rgba(16, 185, 129, 0.16);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --nav-h: 80px;
    --duration: 0.8s;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
    scrollbar-width: thin;
    scrollbar-color: #10b981 #121212;
}

::-webkit-scrollbar {
    width: 11px;
    height: 11px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #34d399 0%, #059669 100%);
    border-radius: 999px;
    border: 2px solid #0a0a0a;
}

::-webkit-scrollbar-thumb:hover {
    background: #34d399;
}

::-webkit-scrollbar-corner {
    background: #0a0a0a;
}

html.is-loading {
    overflow: hidden;
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: "Outfit", system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-tap-highlight-color: rgba(16, 185, 129, 0.18);
}

img,
video {
    max-width: 100%;
    display: block;
}

::selection {
    background: var(--emerald);
    color: #04110c;
}

.material-symbols-outlined {
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
    user-select: none;
}

.icon-fill {
    font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

/* ------------------------------------------------------------
   Noise overlay
   ------------------------------------------------------------ */

.noise {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 80;
    opacity: 0.045;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------
   Scroll progress
   ------------------------------------------------------------ */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    z-index: 70;
    background: linear-gradient(90deg, var(--emerald-deep), var(--emerald));
    box-shadow: 0 0 16px var(--emerald);
    transform-origin: left;
}

/* ------------------------------------------------------------
   Custom cursor (desktop)
   ------------------------------------------------------------ */

.cursor-dot,
.cursor-ring {
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    body.has-cursor {
        cursor: none;
    }

    body.has-cursor a,
    body.has-cursor button,
    body.has-cursor input,
    body.has-cursor select,
    body.has-cursor label,
    body.has-cursor .file-drop,
    body.has-cursor .file-remove {
        cursor: none;
    }

    .cursor-dot,
    .cursor-ring {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        pointer-events: none;
        z-index: 90;
        border-radius: 50%;
        opacity: 0;
        transform: translate(-50%, -50%);
    }

    .cursor-dot.is-ready,
    .cursor-ring.is-ready {
        opacity: 1;
    }

    .cursor-dot {
        width: 6px;
        height: 6px;
        background: var(--emerald);
        box-shadow: 0 0 12px var(--emerald);
        transition: opacity 0.25s ease;
    }

    .cursor-ring {
        width: 36px;
        height: 36px;
        border: 1px solid rgba(52, 211, 153, 0.55);
        transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out),
            background 0.25s var(--ease-out), border-color 0.25s var(--ease-out),
            opacity 0.25s ease;
    }

    .cursor-ring.is-hover {
        width: 64px;
        height: 64px;
        background: rgba(16, 185, 129, 0.12);
        border-color: var(--emerald);
    }
}

/* ------------------------------------------------------------
   Intro loader
   ------------------------------------------------------------ */

.loader {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #050505;
    gap: 28px;
    transition: transform 0.9s var(--ease-out), opacity 0.6s ease;
}

.loader.is-done {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.loader-brand {
    font-size: 13px;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--white);
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.15s forwards;
}

.loader-bar {
    width: min(220px, 60vw);
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.loader-bar span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--emerald);
    box-shadow: 0 0 12px var(--emerald);
    animation: loadBar 1.05s var(--ease-in-out) forwards;
}

/* ------------------------------------------------------------
   Navigation
   ------------------------------------------------------------ */

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    height: var(--nav-h);
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}

.site-nav.is-scrolled {
    background: rgba(10, 10, 10, 0.72);
    backdrop-filter: blur(22px);
    border-bottom-color: var(--line);
}

.brand {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.nav-link {
    position: relative;
    color: #a3a3a3;
    font-weight: 500;
    font-size: 0.95rem;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--emerald);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease-out);
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--white);
}

.nav-link.is-active::after,
.nav-link:hover::after {
    transform: scaleX(1);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--emerald-deep);
    color: #04110c;
    font-weight: 700;
    border-radius: 999px;
    transition: transform 0.35s var(--ease-out), background 0.3s ease, box-shadow 0.35s ease;
    box-shadow: 0 0 24px rgba(16, 185, 129, 0.28);
}

.btn-primary:hover {
    background: var(--emerald);
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(16, 185, 129, 0.35);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #111;
    font-weight: 600;
    border-radius: 14px;
    transition: transform 0.35s var(--ease-out), background 0.3s ease;
}

.btn-ghost:hover {
    background: #e5e5e5;
    transform: translateY(-2px);
}

.menu-toggle {
    width: 44px;
    height: 44px;
    display: none;
    place-items: center;
    color: var(--white);
    background: transparent;
    border: 0;
}

@media (max-width: 767px) {
    .menu-toggle {
        display: grid;
    }
}

/* ------------------------------------------------------------
   Mobile menu
   ------------------------------------------------------------ */

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(5, 5, 5, 0.97);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 96px 32px 48px;
    transform: translateX(100%);
    transition: transform 0.55s var(--ease-out);
}

.mobile-menu.is-open {
    transform: translateX(0);
}

.mobile-menu a {
    font-size: clamp(2rem, 8vw, 3.2rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
    opacity: 0;
    transform: translateY(18px);
}

.mobile-menu.is-open a {
    animation: fadeUp 0.6s var(--ease-out) forwards;
}

.mobile-menu.is-open a:nth-child(1) { animation-delay: 0.12s; }
.mobile-menu.is-open a:nth-child(2) { animation-delay: 0.18s; }
.mobile-menu.is-open a:nth-child(3) { animation-delay: 0.24s; }
.mobile-menu.is-open a:nth-child(4) { animation-delay: 0.3s; }
.mobile-menu.is-open a:nth-child(5) { animation-delay: 0.36s; }
.mobile-menu.is-open a:nth-child(6) { animation-delay: 0.42s; }

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 24px 88px;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    background: #000;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.78;
    transform: scale(1.04);
    animation: kenburns 22s ease-in-out infinite alternate;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, #0a0a0a 0%, rgba(10, 10, 10, 0.35) 42%, transparent 70%),
        linear-gradient(to right, rgba(10, 10, 10, 0.45), transparent 55%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--emerald);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulseDot 1.8s ease-out infinite;
}

.hero-title {
    font-size: clamp(2.6rem, 7vw, 4.6rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--white);
}

.hero-title .accent {
    color: var(--emerald);
    display: inline-block;
}

.hero-line {
    display: block;
    overflow: hidden;
}

.hero-line span {
    display: block;
    transform: translateY(110%);
    animation: lineUp 1.05s var(--ease-out) forwards;
}

.hero-line:nth-child(1) span { animation-delay: 1.25s; }
.hero-line:nth-child(2) span { animation-delay: 1.4s; }

.hero-copy,
.hero-actions,
.status-pill {
    opacity: 0;
    animation: fadeUp 0.9s var(--ease-out) forwards;
}

.status-pill { animation-delay: 1.1s; }
.hero-copy { animation-delay: 1.55s; }
.hero-actions { animation-delay: 1.7s; }

.scroll-hint {
    position: absolute;
    right: 32px;
    bottom: 36px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeUp 1s var(--ease-out) 2s forwards;
}

.scroll-hint-line {
    width: 1px;
    height: 56px;
    background: linear-gradient(to bottom, var(--emerald), transparent);
    animation: scrollLine 1.8s ease-in-out infinite;
}

@media (max-width: 767px) {
    .scroll-hint {
        display: none;
    }

    .hero {
        padding-bottom: 72px;
    }
}

/* ------------------------------------------------------------
   Marquee
   ------------------------------------------------------------ */

.marquee {
    border-block: 1px solid var(--line);
    background: #0e0e0e;
    overflow: hidden;
    padding: 18px 0;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 32s linear infinite;
}

.marquee-track span {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 0 28px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #8a8a8a;
    white-space: nowrap;
}

.marquee-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 8px var(--emerald);
}

/* ------------------------------------------------------------
   Reveals
   ------------------------------------------------------------ */

[data-reveal] {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
}

[data-reveal="left"] {
    transform: translateX(-40px);
}

[data-reveal="right"] {
    transform: translateX(40px);
}

[data-reveal="scale"] {
    transform: scale(0.94);
}

[data-reveal].is-in {
    opacity: 1;
    transform: none;
}

/* ------------------------------------------------------------
   Services
   ------------------------------------------------------------ */

.section {
    padding: 120px 24px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--emerald);
    margin-bottom: 16px;
}

.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    transition: opacity var(--duration) var(--ease-out), transform var(--duration) var(--ease-out), border-color 0.45s ease;
    transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: rgba(16, 185, 129, 0.45);
}

.service-card .spotlight {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: radial-gradient(
        420px circle at var(--mx, 50%) var(--my, 50%),
        rgba(16, 185, 129, 0.16),
        transparent 42%
    );
    z-index: 2;
}

.service-card:hover .spotlight {
    opacity: 1;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.82;
    transition: transform 0.9s var(--ease-out), opacity 0.5s ease;
}

.service-card:hover img {
    transform: scale(1.07);
    opacity: 1;
}

.service-card[data-reveal="right"] {
    transition-delay: 0.12s;
}

.service-card li {
    align-items: flex-start;
}

.service-card li .material-symbols-outlined {
    flex-shrink: 0;
    margin-top: 2px;
}

.service-card .p-8 {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card .js-service-quote {
    margin-top: auto;
    padding-top: 2rem;
}

/* ------------------------------------------------------------
   Process
   ------------------------------------------------------------ */

.process-wrap {
    background: #070707;
    border-block: 1px solid var(--line);
    padding: 120px 0;
}

.process-grid {
    position: relative;
}

.process-line {
    display: none;
}

@media (min-width: 768px) {
    .process-line {
        display: block;
        position: absolute;
        top: 48px;
        left: 12%;
        right: 12%;
        height: 1px;
        background: rgba(255, 255, 255, 0.08);
        overflow: hidden;
    }

    .process-line span {
        display: block;
        height: 100%;
        width: 100%;
        background: linear-gradient(90deg, transparent, var(--emerald), transparent);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 1.3s var(--ease-out) 0.2s;
    }

    .process-grid.is-in .process-line span {
        transform: scaleX(1);
    }
}

.process-num {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 28px;
    position: relative;
    z-index: 1;
    border: 1px solid var(--line);
    background: #050505;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--emerald);
    transform: scale(0.72);
    opacity: 0.35;
    transition: transform 0.7s var(--ease-out), box-shadow 0.6s ease, background 0.6s ease, opacity 0.6s ease;
}

.process-grid.is-in .process-step:nth-child(2) .process-num {
    transition-delay: 0.15s;
}

.process-grid.is-in .process-step:nth-child(3) .process-num {
    transition-delay: 0.3s;
}

.process-grid.is-in .process-step:nth-child(4) .process-num {
    transition-delay: 0.45s;
    background: var(--emerald-deep);
    color: #04110c;
    box-shadow: 0 0 36px rgba(16, 185, 129, 0.35);
}

.process-grid.is-in .process-num {
    transform: scale(1);
    opacity: 1;
}

.process-step h3,
.process-step p {
    opacity: 0.35;
    transform: translateY(10px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.process-grid.is-in .process-step:nth-child(2) h3,
.process-grid.is-in .process-step:nth-child(2) p { transition-delay: 0.2s; }
.process-grid.is-in .process-step:nth-child(3) h3,
.process-grid.is-in .process-step:nth-child(3) p { transition-delay: 0.35s; }
.process-grid.is-in .process-step:nth-child(4) h3,
.process-grid.is-in .process-step:nth-child(4) p { transition-delay: 0.5s; }

.process-grid.is-in .process-step h3,
.process-grid.is-in .process-step p {
    opacity: 1;
    transform: none;
}

/* ------------------------------------------------------------
   Gallery
   ------------------------------------------------------------ */

.bento {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    min-height: 560px;
}

.bento-item {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    cursor: pointer;
    border: 1px solid var(--line);
    height: 100%;
    min-height: 240px;
}

.bento-item:first-child {
    grid-row: 1 / 3;
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease-out);
}

.bento-item:hover img {
    transform: scale(1.08);
}

.bento-item figcaption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
    color: var(--white);
    font-weight: 700;
    transform: translateY(8px);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s var(--ease-out);
}

.bento-item:hover figcaption {
    opacity: 1;
    transform: none;
}

@media (max-width: 767px) {
    .bento {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        min-height: 0;
    }

    .bento-item:first-child {
        grid-row: auto;
        min-height: 280px;
    }

    .bento-item {
        min-height: 220px;
    }

    .bento-item figcaption {
        opacity: 1;
        transform: none;
    }
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 85;
    background: rgba(0, 0, 0, 0.88);
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox img {
    max-width: min(1100px, 92vw);
    max-height: 86vh;
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
}

/* ------------------------------------------------------------
   Pricing
   ------------------------------------------------------------ */

.price-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(180deg, #171717 0%, #101010 100%);
    border: 1px solid var(--line);
    padding: 48px 40px;
}

.price-card::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -60px;
    top: -80px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.28), transparent 65%);
    animation: glowPulse 4.5s ease-in-out infinite;
}

.price-value {
    font-size: clamp(2.8rem, 6vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--white);
    font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------
   Contact
   ------------------------------------------------------------ */

.contact-wrap {
    background: #070707;
    border-top: 1px solid var(--line);
    padding: 120px 0;
}

.contact-card {
    background: #050505;
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.tab-btn {
    flex: 1;
    padding: 20px 12px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: #737373;
    border-bottom: 2px solid transparent;
    background: transparent;
    transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.tab-btn.is-active {
    color: var(--emerald);
    border-bottom-color: var(--emerald);
    background: rgba(16, 185, 129, 0.05);
}

.tab-panel {
    display: none;
}

.tab-panel.is-active {
    display: block;
    animation: fadeUp 0.45s var(--ease-out);
}

.field {
    width: 100%;
    background: #111;
    border: 1px solid #262626;
    border-radius: 12px;
    padding: 12px 16px;
    color: var(--white);
    font-family: "Outfit", system-ui, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field::placeholder {
    color: #737373;
    font-family: inherit;
    font-weight: 400;
}

.field:focus {
    outline: none;
    border-color: var(--emerald-deep);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.field-select {
    appearance: none;
    -webkit-appearance: none;
    color: var(--white);
    background-color: #111;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 44px;
    cursor: pointer;
}

.field-select option {
    background: #111;
    color: #f5f5f5;
    font-family: "Outfit", system-ui, sans-serif;
    font-size: 16px;
}

.file-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.file-drop {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 28px 16px;
    border-radius: 16px;
    border: 1px dashed rgba(52, 211, 153, 0.35);
    background: rgba(16, 185, 129, 0.04);
    color: var(--white);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.file-drop small {
    color: #737373;
    font-weight: 400;
    font-size: 12px;
}

.file-drop .material-symbols-outlined {
    font-size: 28px;
    color: var(--emerald);
}

.file-drop:hover,
.file-drop.is-dragover {
    border-color: var(--emerald);
    background: rgba(16, 185, 129, 0.1);
}

.file-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.file-chip {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #111;
    min-height: 110px;
}

.file-chip img {
    width: 100%;
    height: 110px;
    object-fit: cover;
}

.file-chip .file-name {
    display: block;
    padding: 8px 10px 10px;
    font-size: 11px;
    color: #a3a3a3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 0;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    display: grid;
    place-items: center;
}

.file-remove:hover {
    background: #ef4444;
}

/* ------------------------------------------------------------
   Floating mobile CTA
   ------------------------------------------------------------ */

.mobile-cta {
    display: none;
}

@media (max-width: 767px) {
    .mobile-cta {
        display: flex;
        position: fixed;
        left: 16px;
        right: 16px;
        bottom: 16px;
        z-index: 50;
        gap: 10px;
    }

    .mobile-cta a {
        flex: 1;
        height: 52px;
        border-radius: 999px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
    }

    .mobile-cta .call {
        flex: 0 0 52px;
        background: #161616;
        border: 1px solid var(--line);
        color: var(--white);
    }

    body {
        padding-bottom: 88px;
    }
}

/* ------------------------------------------------------------
   Thank-you page
   ------------------------------------------------------------ */

.thanks-card {
    max-width: 440px;
    width: 100%;
    background: #141414;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 56px 40px;
    text-align: center;
    animation: fadeUp 0.8s var(--ease-out);
}

.thanks-check {
    width: 84px;
    height: 84px;
    margin: 0 auto 28px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    display: grid;
    place-items: center;
}

.thanks-check svg path {
    stroke-dasharray: 32;
    stroke-dashoffset: 32;
    animation: drawCheck 0.7s var(--ease-out) 0.25s forwards;
}

/* ------------------------------------------------------------
   Keyframes
   ------------------------------------------------------------ */

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

@keyframes lineUp {
    from { transform: translateY(110%); }
    to { transform: translateY(0); }
}

@keyframes loadBar {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes kenburns {
    from { transform: scale(1.04) translate(0, 0); }
    to { transform: scale(1.12) translate(-1.5%, -1%); }
}

@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.65); }
    70% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes scrollLine {
    0%, 100% { transform: scaleY(0.45); opacity: 0.4; transform-origin: top; }
    50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.12); }
}

@keyframes drawCheck {
    to { stroke-dashoffset: 0; }
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */

@media (max-width: 767px) {
    :root {
        --nav-h: 68px;
    }

    .site-nav {
        height: var(--nav-h);
    }

    .site-nav .flex {
        padding-left: 16px;
        padding-right: 16px;
    }

    .brand {
        font-size: 0.98rem;
        max-width: calc(100vw - 96px);
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .section {
        padding: 72px 20px;
    }

    .process-wrap,
    .contact-wrap {
        padding: 72px 0;
    }

    .process-wrap .mb-20 {
        margin-bottom: 40px;
    }

    .process-grid {
        gap: 36px;
    }

    .process-num {
        width: 76px;
        height: 76px;
        font-size: 1.4rem;
        margin-bottom: 18px;
    }

    .hero {
        min-height: 100svh;
        padding: 0 20px 108px;
    }

    .hero-title {
        font-size: clamp(2.05rem, 10.5vw, 2.75rem);
        letter-spacing: -0.035em;
    }

    .hero-copy {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .hero-actions .btn-primary {
        width: 100%;
        padding-top: 14px;
        padding-bottom: 14px;
        font-size: 1rem;
    }

    .hero-actions a:last-child {
        text-align: center;
    }

    .status-pill {
        letter-spacing: 0.12em;
        font-size: 10px;
        padding: 7px 12px;
        max-width: 100%;
    }

    .loader-brand {
        letter-spacing: 0.18em;
        font-size: 11px;
        text-align: center;
        padding: 0 20px;
    }

    .marquee-track span {
        letter-spacing: 0.14em;
        font-size: 11px;
        gap: 18px;
        padding: 0 18px;
    }

    .tab-btn {
        font-size: 13px;
        padding: 14px 8px;
        line-height: 1.25;
    }

    .tab-panel {
        padding: 24px 18px !important;
    }

    .price-card {
        padding: 32px 22px;
        border-radius: 22px;
    }

    .price-value {
        font-size: clamp(2.2rem, 12vw, 3rem);
    }

    .contact-card {
        border-radius: 18px;
    }

    .file-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lightbox {
        padding: 16px;
    }

    .lightbox-close {
        top: 12px;
        right: 12px;
    }

    footer {
        padding-left: 20px;
        padding-right: 20px;
        text-align: center;
    }

    .thanks-card {
        padding: 40px 24px;
    }

    [data-reveal="left"],
    [data-reveal="right"] {
        transform: translateY(28px);
    }
}

@media (max-width: 399px) {
    .brand {
        font-size: 0.88rem;
    }

    .tab-row {
        flex-direction: column;
    }

    .tab-btn {
        border-bottom: 1px solid #262626;
        border-left: 3px solid transparent;
    }

    .tab-btn.is-active {
        border-left-color: var(--emerald);
        border-bottom-color: #262626;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .section {
        padding: 96px 32px;
    }

    .hero-title {
        font-size: clamp(2.8rem, 6vw, 3.8rem);
    }
}

/* ------------------------------------------------------------
   Map — působnost
   ------------------------------------------------------------ */

.cz-map img,
.mapa-img {
    display: block;
    width: 100%;
    max-width: 520px;
    height: auto;
    margin: 0 auto;
}

.mapa-img {
    /* Zvýší kontrast a tmavé pixely srazí do čistě černé, čímž šachovnice zmizí */
    filter: contrast(130%) brightness(95%);
}

/* ------------------------------------------------------------
   Reduced motion
   ------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    html.is-loading {
        overflow: auto;
    }

    .loader {
        display: none;
    }

    [data-reveal],
    .hero-line span,
    .hero-copy,
    .hero-actions,
    .status-pill,
    .process-num,
    .process-step h3,
    .process-step p {
        opacity: 1 !important;
        transform: none !important;
    }

    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }
}
