/* =========================================================
   WPC DESIGN
   HLAVNÍ STYLY WEBU
========================================================= */


/* =========================================================
   1. PROMĚNNÉ
========================================================= */

:root {
    --background: #03050a;
    --background-soft: #070b14;
    --background-light: #0b1120;

    --surface: rgba(255, 255, 255, 0.045);
    --surface-strong: rgba(255, 255, 255, 0.075);
    --surface-hover: rgba(255, 255, 255, 0.095);

    --primary: #1478ff;
    --primary-light: #55a3ff;
    --primary-dark: #0057e7;

    --secondary: #6a5cff;
    --cyan: #24c8ff;

    --text: #f7f9fc;
    --text-soft: #a6afc2;
    --text-muted: #6f788b;

    --border: rgba(255, 255, 255, 0.09);
    --border-light: rgba(255, 255, 255, 0.15);
    --border-primary: rgba(20, 120, 255, 0.38);

    --gradient-primary:
        linear-gradient(
            135deg,
            #1478ff 0%,
            #0057e7 55%,
            #6a5cff 100%
        );

    --gradient-text:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #7db7ff 45%,
            #776bff 100%
        );

    --gradient-surface:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.075),
            rgba(255, 255, 255, 0.018)
        );

    --shadow-small:
        0 10px 30px rgba(0, 0, 0, 0.22);

    --shadow-medium:
        0 25px 70px rgba(0, 0, 0, 0.38);

    --shadow-large:
        0 45px 120px rgba(0, 0, 0, 0.55);

    --shadow-primary:
        0 18px 50px rgba(20, 120, 255, 0.32);

    --container: 100%;

    --radius-small: 12px;
    --radius-medium: 20px;
    --radius-large: 30px;
    --radius-round: 999px;

    --header-height: 86px;

    --transition-fast: 180ms ease;
    --transition: 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-slow: 650ms cubic-bezier(0.16, 1, 0.3, 1);
}


/* =========================================================
   2. RESET
========================================================= */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    min-height: 100vh;
    overflow-x: hidden;

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--text);
    background: var(--background);

    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.no-scroll {
    overflow: hidden;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    color: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

input,
textarea,
select {
    color: var(--text);
}

ul,
ol {
    list-style: none;
}

::selection {
    color: #ffffff;
    background: rgba(20, 120, 255, 0.75);
}


/* =========================================================
   3. POZADÍ A SVĚTELNÉ EFEKTY
========================================================= */

body {
    background:
        radial-gradient(
            circle at 12% 8%,
            rgba(20, 120, 255, 0.16),
            transparent 28%
        ),
        radial-gradient(
            circle at 88% 14%,
            rgba(106, 92, 255, 0.14),
            transparent 26%
        ),
        radial-gradient(
            circle at 50% 65%,
            rgba(0, 87, 231, 0.09),
            transparent 35%
        ),
        var(--background);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -5;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        );

    background-size: 72px 72px;

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.7),
            transparent 85%
        );

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.7),
            transparent 85%
        );
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -4;

    pointer-events: none;

    background:
        radial-gradient(
            circle at center,
            transparent 25%,
            rgba(3, 5, 10, 0.5) 100%
        );
}

.page-background {
    position: fixed;
    inset: 0;
    z-index: -3;

    overflow: hidden;
    pointer-events: none;
}

.glow {
    position: absolute;

    border-radius: 50%;

    filter: blur(130px);
    opacity: 0.23;

    animation: floating-glow 14s ease-in-out infinite;
}

.glow-one {
    top: -180px;
    left: -180px;

    width: 520px;
    height: 520px;

    background: var(--primary);
}

.glow-two {
    top: 25%;
    right: -240px;

    width: 600px;
    height: 600px;

    background: var(--secondary);

    animation-delay: -5s;
}

.glow-three {
    bottom: -250px;
    left: 35%;

    width: 650px;
    height: 650px;

    background: var(--primary-dark);

    animation-delay: -9s;
}


/* =========================================================
   4. SPOLEČNÉ ROZLOŽENÍ
========================================================= */

.container {
    width: 100%;
    max-width: none;
    margin-inline: auto;
    padding-inline: clamp(20px, 4vw, 72px);
}

main {
    position: relative;
    z-index: 1;
}

.section {
    position: relative;
    padding: 120px 0;
}

.section-small {
    padding: 80px 0;
}

.section-dark {
    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(7, 11, 20, 0.72),
            transparent
        );
}

.section-header {
    max-width: 760px;
    margin-bottom: 56px;
}

.section-header.center {
    margin-inline: auto;
    text-align: center;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 18px;

    color: var(--primary-light);

    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-label::before {
    content: "";

    width: 28px;
    height: 2px;

    border-radius: var(--radius-round);

    background: var(--gradient-primary);

    box-shadow:
        0 0 18px rgba(20, 120, 255, 0.75);
}

.section-title {
    margin-bottom: 22px;

    font-size: clamp(2.2rem, 5vw, 4.5rem);
    font-weight: 760;
    line-height: 1.05;
    letter-spacing: -0.055em;
}

.section-description {
    color: var(--text-soft);

    font-size: 1.08rem;
    line-height: 1.8;
}

.gradient-text {
    color: transparent;

    background: var(--gradient-text);
    background-clip: text;
    -webkit-background-clip: text;
}

.text-center {
    text-align: center;
}


/* =========================================================
   5. GLASSMORPHISM
========================================================= */

.glass {
    border: 1px solid var(--border);
    border-radius: var(--radius-large);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.075),
            rgba(255, 255, 255, 0.018)
        );

    box-shadow:
        var(--shadow-medium),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);

    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.glass-dark {
    border: 1px solid var(--border);

    background: rgba(4, 8, 16, 0.66);

    box-shadow:
        var(--shadow-medium),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);

    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
}


/* =========================================================
   6. HEADER A NAVIGACE
========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

    width: 100%;
    height: var(--header-height);

    border-bottom: 1px solid transparent;

    transition:
        background var(--transition),
        border-color var(--transition),
        box-shadow var(--transition),
        backdrop-filter var(--transition);
}

.site-header.scrolled {
    border-color: var(--border);

    background: rgba(3, 5, 10, 0.74);

    box-shadow:
        0 14px 45px rgba(0, 0, 0, 0.25);

    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
}

.navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;

    height: 100%;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 15px;

    flex-shrink: 0;

    font-size: 1.35rem;
    font-weight: 850;
    letter-spacing: -0.045em;
}

.logo img {
    width: auto;
     height: 150px !important;
     margin-top:40px;
}

.logo-mark {
    display: grid;
    place-items: center;

    width: 46px;
    height: 46px;

    border: 1px solid var(--border-primary);
    border-radius: 15px;

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            rgba(20, 120, 255, 0.3),
            rgba(106, 92, 255, 0.08)
        );

    box-shadow:
        0 0 32px rgba(20, 120, 255, 0.23);
}

.navigation-menu {
    display: flex;
    align-items: center;
    gap: 34px;
}

.navigation-link {
    position: relative;

    padding: 12px 0;

    color: var(--text-soft);

    font-size: 0.94rem;
    font-weight: 600;

    transition: color var(--transition-fast);
}

.navigation-link::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: 3px;

    width: 0;
    height: 2px;

    border-radius: var(--radius-round);

    background: var(--gradient-primary);

    box-shadow:
        0 0 12px rgba(20, 120, 255, 0.8);

    transform: translateX(-50%);

    transition: width var(--transition);
}

.navigation-link:hover,
.navigation-link.active {
    color: var(--text);
}

.navigation-link:hover::after,
.navigation-link.active::after {
    width: 100%;
}

.navigation-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.menu-toggle {
    display: none;
    place-items: center;

    width: 48px;
    height: 48px;

    border: 1px solid var(--border);
    border-radius: 15px;

    background: var(--surface);

    transition:
        background var(--transition),
        border-color var(--transition);
}

.menu-toggle:hover {
    border-color: var(--border-primary);
    background: var(--surface-hover);
}

.menu-toggle span {
    position: absolute;

    width: 21px;
    height: 2px;

    border-radius: var(--radius-round);
    background: var(--text);

    transition:
        transform var(--transition),
        opacity var(--transition);
}

.menu-toggle span:nth-child(1) {
    transform: translateY(-6px);
}

.menu-toggle span:nth-child(3) {
    transform: translateY(6px);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
}


/* =========================================================
   7. TLAČÍTKA
========================================================= */

.button {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;

    min-height: 54px;
    padding: 0 28px;

    overflow: hidden;

    border: 1px solid transparent;
    border-radius: var(--radius-round);

    font-size: 0.96rem;
    font-weight: 700;
    white-space: nowrap;

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}

.button::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            110deg,
            transparent 20%,
            rgba(255, 255, 255, 0.22) 50%,
            transparent 80%
        );

    transform: translateX(-130%);

    transition: transform 750ms ease;
}

.button:hover::before {
    transform: translateX(130%);
}

.button:hover {
    transform: translateY(-3px);
}

.button-primary {
    color: #ffffff;

    background: var(--gradient-primary);

    box-shadow:
        var(--shadow-primary),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.button-primary:hover {
    box-shadow:
        0 24px 65px rgba(20, 120, 255, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.button-secondary {
    border-color: var(--border-light);

    color: var(--text);

    background: rgba(255, 255, 255, 0.035);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.button-secondary:hover {
    border-color: var(--border-primary);
    background: rgba(20, 120, 255, 0.08);
}

.button-small {
    min-height: 46px;
    padding: 0 22px;

    font-size: 0.9rem;
}

.button-icon {
    width: 20px;
    height: 20px;

    transition: transform var(--transition);
}

.button:hover .button-icon {
    transform: translateX(4px);
}


/* =========================================================
   8. HERO HLAVNÍ STRÁNKY
========================================================= */

.hero {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 100vh;
    padding:
        calc(var(--header-height) + 70px)
        0
        80px;

    overflow: hidden;
}

.hero::before {
    content: "";

    position: absolute;
    top: 4%;
    right: -8%;

    width: 720px;
    height: 720px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(20, 120, 255, 0.23),
            rgba(106, 92, 255, 0.08) 42%,
            transparent 70%
        );

    filter: blur(16px);

    pointer-events: none;
}

.hero::after {
    content: "";

    position: absolute;
    top: 20%;
    right: 8%;

    width: 480px;
    height: 480px;

    border: 1px solid rgba(20, 120, 255, 0.15);
    border-radius: 50%;

    box-shadow:
        0 0 80px rgba(20, 120, 255, 0.09),
        inset 0 0 80px rgba(20, 120, 255, 0.035);

    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(560px, 1.1fr);

    align-items: center;
    gap: clamp(45px, 5vw, 100px);
}

.hero-content {
    max-width: 680px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 26px;
    padding: 9px 15px;

    border: 1px solid rgba(20, 120, 255, 0.28);
    border-radius: var(--radius-round);

    color: #b9d8ff;

    background:
        linear-gradient(
            135deg,
            rgba(20, 120, 255, 0.14),
            rgba(106, 92, 255, 0.07)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    font-size: 0.82rem;
    font-weight: 700;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--primary-light);

    box-shadow:
        0 0 15px rgba(85, 163, 255, 0.95);
}

.hero-title {
    max-width: 760px;
    margin-bottom: 28px;

    font-size: clamp(3.3rem, 6.4vw, 6.5rem);
    font-weight: 800;
    line-height: 0.96;
    letter-spacing: -0.072em;
}

.hero-title-highlight {
    color: transparent;

    background: var(--gradient-text);
    background-clip: text;
    -webkit-background-clip: text;
}

.hero-description {
    max-width: 620px;
    margin-bottom: 38px;

    color: var(--text-soft);

    font-size: 1.1rem;
    line-height: 1.85;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;

    margin-bottom: 42px;
}

.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}

.hero-benefit {
    display: flex;
    align-items: center;
    gap: 10px;

    color: var(--text-soft);

    font-size: 0.9rem;
    font-weight: 600;
}

.hero-benefit-icon {
    display: grid;
    place-items: center;

    width: 32px;
    height: 32px;

    border: 1px solid rgba(20, 120, 255, 0.22);
    border-radius: 10px;

    color: var(--primary-light);

    background: rgba(20, 120, 255, 0.08);
}

.hero-visual {
    position: relative;
    min-height: 610px;
    perspective: 1400px;
    isolation: isolate;
}

.hero-visual-glow {
    position: absolute;
    top: 50%;
    left: 52%;
    width: 620px;
    height: 500px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(20, 120, 255, 0.30),
            rgba(106, 92, 255, 0.10) 46%,
            transparent 72%
        );
    filter: blur(42px);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-orbit {
    position: absolute;
    top: 49%;
    left: 52%;
    width: 590px;
    height: 510px;
    border: 1px solid rgba(85, 163, 255, 0.12);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(-12deg);
    pointer-events: none;
}

.hero-orbit::before,
.hero-orbit::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background:
        radial-gradient(
            circle at 35% 30%,
            #b8dcff,
            #1478ff 45%,
            #241f84 100%
        );
    box-shadow: 0 0 36px rgba(20, 120, 255, 0.55);
}

.hero-orbit::before {
    top: 6%;
    right: 10%;
    width: 42px;
    height: 42px;
}

.hero-orbit::after {
    bottom: 10%;
    left: 4%;
    width: 24px;
    height: 24px;
}

.studio-setup {
    position: absolute;
    inset: 0;
    z-index: 2;
    transform-style: preserve-3d;
}

.studio-monitor {
    position: absolute;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background:
        linear-gradient(
            145deg,
            rgba(27, 34, 49, 0.98),
            rgba(5, 8, 15, 0.98)
        );
    box-shadow:
        0 34px 80px rgba(0, 0, 0, 0.58),
        0 0 60px rgba(20, 120, 255, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
}

.studio-monitor--preview {
    top: 50%;
    left: 41%;
    width: 69%;
    aspect-ratio: 16 / 10;
    border-radius: 24px;
    transform: translate(-50%, -53%);
}

.studio-monitor--code {
    top: 48%;
    right: -2%;
    width: 30%;
    aspect-ratio: 9 / 15;
    border-radius: 19px;
    transform: translateY(-50%);
}

.monitor-screen {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    background: #060912;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.58);
}

.monitor-camera {
    position: absolute;
    top: 3px;
    left: 50%;
    z-index: 5;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #020308;
    transform: translateX(-50%);
}

.monitor-stand {
    position: absolute;
    top: calc(100% - 2px);
    left: 50%;
    z-index: -1;
    width: 19%;
    height: 72px;
    background:
        linear-gradient(
            90deg,
            #090d16,
            #273044 48%,
            #0b101b
        );
    clip-path: polygon(34% 0, 66% 0, 76% 78%, 24% 78%);
    transform: translateX(-50%);
}

.monitor-stand::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 155%;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(180deg, #30394c, #090d16);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.55);
    transform: translateX(-50%);
}

.preview-browser {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 30px;
    padding: 0 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.035);
}

.preview-browser-dots {
    display: flex;
    gap: 5px;
}

.preview-browser-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
}

.preview-address {
    flex: 1;
    height: 16px;
    padding: 1px 9px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.45);
    background: rgba(0, 0, 0, 0.22);
    font-size: 0.43rem;
    white-space: nowrap;
}

.build-preview {
    position: relative;
    height: calc(100% - 30px);
    overflow: hidden;
    background:
        radial-gradient(
            circle at 78% 20%,
            rgba(20, 120, 255, 0.25),
            transparent 29%
        ),
        radial-gradient(
            circle at 20% 85%,
            rgba(106, 92, 255, 0.14),
            transparent 34%
        ),
        #040711;
}

.build-preview::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 25px 25px;
    pointer-events: none;
}

.preview-nav,
.preview-copy,
.preview-card-row,
.preview-status {
    position: relative;
    z-index: 2;
    opacity: 0;
    filter: blur(5px);
    transform: translateY(10px);
    transition:
        opacity 650ms ease,
        filter 650ms ease,
        transform 650ms ease;
}

.preview-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 42px;
    padding: 0 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.preview-logo {
    font-size: 0.58rem;
    font-weight: 800;
}

.preview-logo span {
    color: #55a3ff;
}

.preview-menu {
    display: flex;
    gap: 12px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.39rem;
}

.preview-copy {
    width: 72%;
    padding: 28px 22px 18px;
}

.preview-kicker {
    margin-bottom: 7px;
    color: #55a3ff;
    font-size: 0.42rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.preview-heading {
    margin-bottom: 9px;
    font-size: clamp(1.08rem, 2.1vw, 1.75rem);
    line-height: 1.5;
    letter-spacing: -0.065em;
}

.preview-heading span {
    color: transparent;
    background: linear-gradient(135deg, #ffffff, #55a3ff, #776bff);
    background-clip: text;
    -webkit-background-clip: text;
}

.preview-text {
    width: 88%;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.44rem;
    line-height: 1.65;
}

.preview-button {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 12px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, #1478ff, #0057e7, #6a5cff);
    box-shadow: 0 7px 20px rgba(20, 120, 255, 0.28);
    font-size: 0.43rem;
    font-weight: 700;
}

.preview-card-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    padding: 0 22px;
}

.preview-card {
    min-height: 58px;
    padding: 9px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.07),
            rgba(255, 255, 255, 0.018)
        );
}

.preview-card-icon {
    width: 14px;
    height: 14px;
    margin-bottom: 6px;
    border-radius: 4px;
    background: rgba(20, 120, 255, 0.20);
}

.preview-card-line {
    width: 70%;
    height: 4px;
    margin-bottom: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.60);
}

.preview-card-line:last-child {
    width: 88%;
    background: rgba(255, 255, 255, 0.18);
}

.preview-status {
    position: absolute;
    right: 16px;
    bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    border: 1px solid rgba(20, 120, 255, 0.22);
    border-radius: 999px;
    color: #a9d1ff;
    background: rgba(5, 12, 25, 0.78);
    font-size: 0.38rem;
}

.preview-status::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #55a3ff;
    box-shadow: 0 0 9px rgba(85, 163, 255, 0.9);
}

.build-preview[data-build-stage="1"] .preview-nav,
.build-preview[data-build-stage="2"] .preview-nav,
.build-preview[data-build-stage="3"] .preview-nav,
.build-preview[data-build-stage="4"] .preview-nav,
.build-preview[data-build-stage="2"] .preview-copy,
.build-preview[data-build-stage="3"] .preview-copy,
.build-preview[data-build-stage="4"] .preview-copy,
.build-preview[data-build-stage="3"] .preview-card-row,
.build-preview[data-build-stage="4"] .preview-card-row,
.build-preview[data-build-stage="4"] .preview-status {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

.code-window {
    display: grid;
    grid-template-rows: 28px 1fr 18px;
    height: 100%;
    color: #c8d3e6;
    background: #070a11;
    font-family: "Cascadia Code", "Fira Code", Consolas, monospace;
}

.code-titlebar {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    background: #0c1019;
}

.code-titlebar span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.24);
}

.code-title {

    margin-left: 4px;

    overflow: visible;

    color: rgba(255,255,255,.46);

    font-size: .36rem;

    white-space: nowrap;

    text-overflow: ellipsis;

}

.code-workspace {
    display: grid;
    grid-template-columns: 27% 73%;
    min-height: 0;
}

.code-sidebar {
    padding: 8px 5px;
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.055);
    background: #090d15;
}

.code-sidebar-title {
    margin-bottom: 7px;
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.31rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.code-file {
    display: block;
    margin-bottom: 5px;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.31rem;
    white-space: nowrap;
}

.code-file.active {
    color: #d8e8ff;
    background: rgba(20, 120, 255, 0.13);
}

.code-editor {
    position: relative;
    min-width: 0;
    padding: 9px 7px;
    overflow: hidden;
    background: #070a11;
}

.code-output {
    display: block;
    min-height: 100%;
    color: #9fd1ff;
    font-size: clamp(0.29rem, 0.48vw, 0.4rem);
    line-height: 1.55;
    white-space: pre-wrap;
    word-break: break-word;
}

.code-cursor {
    display: inline-block;
    width: 1px;
    height: 0.7em;
    margin-left: 1px;
    vertical-align: -0.06em;
    background: #ffffff;
    animation: code-cursor-blink 0.75s steps(1) infinite;
}

.code-statusbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
    color: rgba(255, 255, 255, 0.65);
    background: #0866cc;
    font-size: 0.27rem;
}

.studio-caption {
    position: absolute;
    left: 5%;
    bottom: 4%;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    border: 1px solid rgba(20, 120, 255, 0.24);
    border-radius: 999px;
    color: #b9d8ff;
    background: rgba(4, 9, 18, 0.76);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-size: 0.68rem;
    font-weight: 700;
}

.studio-caption-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #55a3ff;
    box-shadow: 0 0 13px rgba(85, 163, 255, 0.95);
}

.hero-orbit::before {
    top: 8%;
    right: 9%;

    width: 48px;
    height: 48px;
}

.hero-orbit::after {
    bottom: 12%;
    left: 3%;

    width: 28px;
    height: 28px;
}


/* =========================================================
   9. VNITŘNÍ STRÁNKY – HERO
========================================================= */

.page-hero {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 560px;
    padding:
        calc(var(--header-height) + 100px)
        0
        90px;

    overflow: hidden;
}

.page-hero::before {
    content: "";

    position: absolute;
    top: -180px;
    left: 50%;

    width: 760px;
    height: 520px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(20, 120, 255, 0.22),
            rgba(106, 92, 255, 0.08) 42%,
            transparent 72%
        );

    filter: blur(40px);

    transform: translateX(-50%);
}

.page-hero-content {
    position: relative;
    z-index: 2;

    max-width: 860px;
    margin-inline: auto;

    text-align: center;
}

.page-hero-title {
    margin-bottom: 25px;

    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: -0.065em;
}

.page-hero-description {
    max-width: 720px;
    margin-inline: auto;

    color: var(--text-soft);

    font-size: 1.12rem;
    line-height: 1.85;
}


/* =========================================================
   10. KARTY
========================================================= */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 420px));
    justify-content: center;
    gap: 24px;
}

.cards-grid-four {
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
}

.card {
    position: relative;

    min-height: 100%;
    padding: 32px;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: var(--radius-medium);

    background: var(--gradient-surface);

    box-shadow:
        var(--shadow-small),
        inset 0 1px 0 rgba(255, 255, 255, 0.055);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}

.card::before {
    content: "";

    position: absolute;
    top: -100px;
    right: -100px;

    width: 210px;
    height: 210px;

    border-radius: 50%;

    background: rgba(20, 120, 255, 0.14);

    filter: blur(60px);

    opacity: 0;

    transition: opacity var(--transition);
}

.card:hover {
    transform: translateY(-9px);

    border-color: var(--border-primary);

    background:
        linear-gradient(
            145deg,
            rgba(20, 120, 255, 0.1),
            rgba(255, 255, 255, 0.03)
        );

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.42),
        0 0 55px rgba(20, 120, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    position: relative;
    z-index: 2;

    display: grid;
    place-items: center;

    width: 58px;
    height: 58px;
    margin-bottom: 26px;

    border: 1px solid rgba(20, 120, 255, 0.28);
    border-radius: 18px;

    color: var(--primary-light);

    background:
        linear-gradient(
            145deg,
            rgba(20, 120, 255, 0.22),
            rgba(106, 92, 255, 0.06)
        );

    box-shadow:
        0 0 32px rgba(20, 120, 255, 0.14);
}

.card-title {
    position: relative;
    z-index: 2;

    margin-bottom: 14px;

    font-size: 1.3rem;
    font-weight: 720;
}

.card-text {
    position: relative;
    z-index: 2;

    color: var(--text-soft);

    font-size: 0.96rem;
    line-height: 1.75;
}

.card-link {
    position: relative;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 24px;

    color: var(--primary-light);

    font-size: 0.92rem;
    font-weight: 700;
}

.card-link span {
    transition: transform var(--transition);
}

.card-link:hover span {
    transform: translateX(5px);
}


/* =========================================================
   11. REALIZACE A PORTFOLIO
========================================================= */

.portfolio-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;
}

.portfolio-card {
    position: relative;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: var(--radius-medium);

    background: var(--surface);

    box-shadow: var(--shadow-medium);

    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-8px);

    border-color: var(--border-primary);

    box-shadow:
        0 32px 90px rgba(0, 0, 0, 0.48),
        0 0 50px rgba(20, 120, 255, 0.09);
}

.portfolio-image {
    position: relative;

    aspect-ratio: 16 / 10;
    overflow: hidden;

    background: var(--background-light);
}

.portfolio-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(3, 5, 10, 0.85),
            transparent 48%
        );

    opacity: 0.65;

    transition: opacity var(--transition);
}

.portfolio-card:hover .portfolio-image::after {
    opacity: 0.35;
}

.portfolio-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.055);
}

.portfolio-content {
    padding: 25px;
}

.portfolio-category {
    margin-bottom: 8px;

    color: var(--primary-light);

    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.portfolio-title {
    margin-bottom: 10px;

    font-size: 1.25rem;
}

.portfolio-description {
    color: var(--text-soft);

    font-size: 0.93rem;
}


/* =========================================================
   12. PROCES SPOLUPRÁCE
========================================================= */

.process-grid {
    position: relative;

    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;
}

.process-grid::before {
    content: "";

    position: absolute;
    top: 35px;
    left: 10%;

    width: 80%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(20, 120, 255, 0.65),
            rgba(106, 92, 255, 0.65),
            transparent
        );

    box-shadow:
        0 0 18px rgba(20, 120, 255, 0.45);
}

.process-item {
    position: relative;
    z-index: 2;

    padding: 0 20px;

    text-align: center;
}

.process-number {
    display: grid;
    place-items: center;

    width: 72px;
    height: 72px;
    margin: 0 auto 24px;

    border: 1px solid var(--border-primary);
    border-radius: 50%;

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            rgba(20, 120, 255, 0.3),
            rgba(4, 8, 16, 0.94)
        );

    box-shadow:
        0 0 38px rgba(20, 120, 255, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.09);

    font-weight: 800;
}

.process-title {
    margin-bottom: 10px;

    font-size: 1.12rem;
}

.process-text {
    color: var(--text-soft);

    font-size: 0.92rem;
}


/* =========================================================
   13. CENÍK
========================================================= */

.pricing-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    align-items: stretch;
    gap: 24px;
}

.pricing-card {
    position: relative;

    display: flex;
    flex-direction: column;

    padding: 36px;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: var(--radius-large);

    background: var(--gradient-surface);

    box-shadow: var(--shadow-medium);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.pricing-card:hover {
    transform: translateY(-9px);

    border-color: var(--border-primary);

    box-shadow:
        0 35px 100px rgba(0, 0, 0, 0.48),
        0 0 60px rgba(20, 120, 255, 0.09);
}

.pricing-card.featured {
    border-color: rgba(20, 120, 255, 0.45);

    background:
        radial-gradient(
            circle at top,
            rgba(20, 120, 255, 0.2),
            transparent 42%
        ),
        var(--gradient-surface);

    box-shadow:
        0 35px 100px rgba(0, 0, 0, 0.48),
        0 0 60px rgba(20, 120, 255, 0.14);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: 20px;

    padding: 7px 12px;

    border: 1px solid rgba(20, 120, 255, 0.35);
    border-radius: var(--radius-round);

    color: #c9e2ff;
    background: rgba(20, 120, 255, 0.13);

    font-size: 0.72rem;
    font-weight: 750;
}

.pricing-name {
    margin-bottom: 12px;

    font-size: 1.3rem;
}

.pricing-description {
    min-height: 76px;
    margin-bottom: 25px;

    color: var(--text-soft);
}

.pricing-price {
    margin-bottom: 25px;

    font-size: 2.7rem;
    font-weight: 820;
    letter-spacing: -0.05em;
}

.pricing-price span {
    color: var(--text-soft);

    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: normal;
}

.pricing-list {
    display: grid;
    gap: 14px;

    margin-bottom: 32px;
}

.pricing-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    color: var(--text-soft);

    font-size: 0.94rem;
}

.pricing-list li::before {
    content: "✓";

    flex-shrink: 0;

    color: var(--primary-light);
    font-weight: 800;
}

.pricing-card .button {
    width: 100%;
    margin-top: auto;
}


/* =========================================================
   14. O NÁS
========================================================= */

.about-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 1.05fr);

    align-items: center;
    gap: 75px;
}

.about-visual {
    position: relative;

    min-height: 520px;
}

.about-image {
    position: absolute;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: var(--radius-large);

    box-shadow: var(--shadow-large);
}

.about-image-main {
    inset: 0 12% 8% 0;
}

.about-image-small {
    right: 0;
    bottom: 0;

    width: 42%;
    height: 45%;

    border-color: var(--border-primary);
}

.about-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.about-content {
    max-width: 620px;
}

.about-content p {
    margin-bottom: 20px;

    color: var(--text-soft);

    font-size: 1.02rem;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
    margin-top: 35px;
}

.stat {
    padding: 24px;

    border: 1px solid var(--border);
    border-radius: var(--radius-medium);

    background: var(--surface);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.stat-number {
    margin-bottom: 5px;

    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.stat-label {
    color: var(--text-soft);

    font-size: 0.86rem;
}


/* =========================================================
   15. KONTAKT
========================================================= */

.contact-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 0.8fr)
        minmax(0, 1.2fr);

    gap: 30px;
}

.contact-info {
    display: grid;
    gap: 18px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;

    padding: 24px;

    border: 1px solid var(--border);
    border-radius: var(--radius-medium);

    background: var(--surface);

    transition:
        transform var(--transition),
        border-color var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-primary);
}

.contact-icon {
    display: grid;
    place-items: center;

    flex-shrink: 0;

    width: 48px;
    height: 48px;

    border: 1px solid rgba(20, 120, 255, 0.25);
    border-radius: 15px;

    color: var(--primary-light);
    background: rgba(20, 120, 255, 0.08);
}

.contact-title {
    margin-bottom: 5px;

    font-size: 1rem;
}

.contact-text {
    color: var(--text-soft);

    font-size: 0.92rem;
}

.contact-map {
    min-height: 100%;
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: var(--radius-large);

    background: var(--surface);
}

.contact-map iframe {
    width: 100%;
    min-height: 520px;

    border: 0;

    filter:
        grayscale(0.8)
        invert(0.9)
        contrast(0.9);
}


/* =========================================================
   16. FORMULÁŘE
========================================================= */

.form-card {
    padding: 42px;

    border: 1px solid var(--border);
    border-radius: var(--radius-large);

    background: var(--gradient-surface);

    box-shadow: var(--shadow-large);

    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.form-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}

.form-group {
    display: grid;
    gap: 9px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-label {
    color: var(--text-soft);

    font-size: 0.9rem;
    font-weight: 650;
}

.form-control {
    width: 100%;
    min-height: 56px;
    padding: 0 18px;

    outline: none;

    border: 1px solid var(--border);
    border-radius: 15px;

    color: var(--text);

    background: rgba(255, 255, 255, 0.035);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035);

    transition:
        border-color var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}

textarea.form-control {
    min-height: 160px;
    padding-top: 17px;

    resize: vertical;
}

select.form-control {
    appearance: none;

    background-image:
        linear-gradient(
            45deg,
            transparent 50%,
            var(--text-soft) 50%
        ),
        linear-gradient(
            135deg,
            var(--text-soft) 50%,
            transparent 50%
        );

    background-position:
        calc(100% - 21px) 24px,
        calc(100% - 16px) 24px;

    background-size:
        5px 5px,
        5px 5px;

    background-repeat: no-repeat;
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control:focus {
    border-color: rgba(20, 120, 255, 0.65);

    background: rgba(20, 120, 255, 0.045);

    box-shadow:
        0 0 0 4px rgba(20, 120, 255, 0.1),
        0 0 30px rgba(20, 120, 255, 0.08);
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-top: 28px;
}

.form-note {
    color: var(--text-muted);

    font-size: 0.84rem;
}


/* =========================================================
   17. FAQ
========================================================= */

.faq-list {
    display: grid;
    gap: 14px;

    max-width: 900px;
    margin-inline: auto;
}

.faq-item {
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: var(--radius-medium);

    background: var(--surface);

    transition:
        border-color var(--transition),
        background var(--transition);
}

.faq-item.active {
    border-color: var(--border-primary);
    background: rgba(20, 120, 255, 0.05);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    width: 100%;
    padding: 24px;

    text-align: left;

    font-weight: 700;
}

.faq-icon {
    position: relative;

    flex-shrink: 0;

    width: 24px;
    height: 24px;
}

.faq-icon::before,
.faq-icon::after {
    content: "";

    position: absolute;
    top: 50%;
    left: 50%;

    width: 14px;
    height: 2px;

    border-radius: var(--radius-round);

    background: var(--primary-light);

    transform: translate(-50%, -50%);

    transition: transform var(--transition);
}

.faq-icon::after {
    transform:
        translate(-50%, -50%)
        rotate(90deg);
}

.faq-item.active .faq-icon::after {
    transform:
        translate(-50%, -50%)
        rotate(0deg);
}

.faq-answer {
    display: grid;

    grid-template-rows: 0fr;

    transition: grid-template-rows var(--transition);
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    overflow: hidden;
}

.faq-answer p {
    padding:
        0
        24px
        24px;

    color: var(--text-soft);

    line-height: 1.75;
}


/* =========================================================
   18. CTA
========================================================= */

.cta-section {
    padding: 45px 0 120px;
}

.cta {
    position: relative;

    padding: 75px 55px;

    overflow: hidden;

    border: 1px solid rgba(20, 120, 255, 0.3);
    border-radius: var(--radius-large);

    text-align: center;

    background:
        radial-gradient(
            circle at 50% -20%,
            rgba(20, 120, 255, 0.28),
            transparent 50%
        ),
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.07),
            rgba(255, 255, 255, 0.018)
        );

    box-shadow:
        var(--shadow-large),
        0 0 75px rgba(20, 120, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.cta::before,
.cta::after {
    content: "";

    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}

.cta::before {
    top: -100px;
    left: -70px;

    width: 260px;
    height: 260px;

    background: rgba(20, 120, 255, 0.19);

    filter: blur(80px);
}

.cta::after {
    right: -110px;
    bottom: -130px;

    width: 300px;
    height: 300px;

    background: rgba(106, 92, 255, 0.2);

    filter: blur(90px);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    max-width: 850px;
    margin:
        0
        auto
        20px;

    font-size: clamp(2.3rem, 5vw, 4.5rem);
    font-weight: 780;
    line-height: 1.05;
    letter-spacing: -0.055em;
}

.cta-text {
    max-width: 680px;
    margin:
        0
        auto
        32px;

    color: var(--text-soft);

    font-size: 1.05rem;
}


/* =========================================================
   19. FOOTER
========================================================= */

.site-footer {
    position: relative;

    padding:
        75px
        0
        30px;

    border-top: 1px solid var(--border);

    background:
        linear-gradient(
            180deg,
            rgba(7, 11, 20, 0.7),
            rgba(3, 5, 10, 0.95)
        );
}

.footer-grid {
    display: grid;
    grid-template-columns:
        1.4fr
        0.8fr
        0.8fr
        1fr;

    gap: 60px;
}

.footer-brand {
    max-width: 390px;
}

.footer-description {
    margin-top: 20px;

    color: var(--text-soft);

    font-size: 0.94rem;
    line-height: 1.75;
}

.footer-title {
    margin-bottom: 20px;

    font-size: 0.95rem;
    font-weight: 750;
}

.footer-links {
    display: grid;
    gap: 12px;
}

.footer-link {
    color: var(--text-soft);

    font-size: 0.92rem;

    transition:
        color var(--transition-fast),
        transform var(--transition);
}

.footer-link:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

.footer-contact {
    display: grid;
    gap: 13px;
}

.footer-contact-item {
    color: var(--text-soft);

    font-size: 0.92rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    margin-top: 60px;
    padding-top: 25px;

    border-top: 1px solid var(--border);

    color: var(--text-muted);

    font-size: 0.84rem;
}

.footer-bottom-links {
    display: flex;
    gap: 22px;
}

.footer-bottom-link {
    transition: color var(--transition-fast);
}

.footer-bottom-link:hover {
    color: var(--text);
}


/* =========================================================
   20. ANIMACE PŘI SCROLLU
========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity 850ms ease,
        transform 850ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
    opacity: 0;

    transform: translateX(-45px);

    transition:
        opacity 850ms ease,
        transform 850ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
    opacity: 0;

    transform: translateX(45px);

    transition:
        opacity 850ms ease,
        transform 850ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0);
}

.delay-1 {
    transition-delay: 100ms;
}

.delay-2 {
    transition-delay: 200ms;
}

.delay-3 {
    transition-delay: 300ms;
}

.delay-4 {
    transition-delay: 400ms;
}


/* =========================================================
   21. KEYFRAMES
========================================================= */

@keyframes floating-glow {
    0%,
    100% {
        transform:
            translate3d(0, 0, 0)
            scale(1);
    }

    50% {
        transform:
            translate3d(30px, -35px, 0)
            scale(1.08);
    }
}



@keyframes code-cursor-blink {
    0%,
    48% {
        opacity: 1;
    }

    49%,
    100% {
        opacity: 0;
    }
}


/* =========================================================
   22. TABLETY
========================================================= */

@media (max-width: 1100px) {

    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        max-width: 820px;
    }

    .hero-visual {
        min-height: 520px;
    }

    .cards-grid,
    .portfolio-grid,
    .pricing-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .cards-grid-four {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .process-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 45px 20px;
    }

    .process-grid::before {
        display: none;
    }

    .footer-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   23. MOBILNÍ NAVIGACE
========================================================= */

@media (max-width: 860px) {

    :root {
        --header-height: 76px;
    }

    .navigation-menu {
        position: fixed;
        top: calc(var(--header-height) + 12px);
        right: 18px;
        left: 18px;

        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;

        padding: 18px;

        border: 1px solid var(--border);
        border-radius: var(--radius-medium);

        background: rgba(3, 5, 10, 0.94);

        box-shadow: var(--shadow-large);

        backdrop-filter: blur(28px);
        -webkit-backdrop-filter: blur(28px);

        opacity: 0;
        visibility: hidden;

        transform: translateY(-15px) scale(0.98);

        transition:
            opacity var(--transition),
            visibility var(--transition),
            transform var(--transition);
    }

    .navigation-menu.open {
        opacity: 1;
        visibility: visible;

        transform: translateY(0) scale(1);
    }

    .navigation-link {
        width: 100%;
        padding: 15px 16px;

        border-radius: 12px;
    }

    .navigation-link:hover,
    .navigation-link.active {
        background: rgba(20, 120, 255, 0.08);
    }

    .navigation-link::after {
        display: none;
    }

    .navigation-actions > .button {
        display: none;
    }

    .menu-toggle {
        position: relative;
        display: grid;
    }

    .hero {
        min-height: auto;
        padding:
            calc(var(--header-height) + 70px)
            0
            80px;
    }

    .hero-title {
        font-size: clamp(3rem, 13vw, 5.4rem);
    }

    .hero-visual {
        min-height: 500px;
    }

    .studio-monitor--preview {
        left: 41%;
        width: 70%;
    }

    .studio-monitor--code {
        right: 0;
        width: 30%;
    }

    .page-hero {
        min-height: 480px;
    }

    .section {
        padding: 90px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 32px;
    }
}


/* =========================================================
   24. MENŠÍ MOBILY
========================================================= */

@media (max-width: 640px) {

    .container {
        width: min(
            calc(100% - 28px),
            var(--container)
        );
    }

    .section {
        padding: 75px 0;
    }

    .section-small {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .hero {
        padding-bottom: 55px;
    }

    .hero-title {
        font-size: clamp(2.85rem, 15vw, 4.4rem);
        line-height: 0.98;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .button {
        width: 100%;
    }

    .hero-benefits {
        display: grid;
        gap: 14px;
    }

    .hero-visual {
        min-height: 340px;
    }
    .studio-monitor--preview {
        left: 40%;
        width: 72%;
    }

    .studio-monitor--code {
        right: -1%;
        width: 31%;
    }

    .hero-orbit {
        width: 360px;
        height: 330px;
    }

    .studio-monitor--preview {
        top: 48%;
        left: 39%;
        width: 73%;
        padding: 5px;
        border-radius: 15px;
    }

    .studio-monitor--code {
        top: 47%;
        right: -2%;
        width: 32%;
        padding: 4px;
        border-radius: 12px;
    }

    .monitor-stand {
        height: 44px;
    }

    .preview-menu,
    .studio-caption {
        display: none;
    }

    .preview-copy {
        width: 82%;
        padding: 16px 13px 10px;
    }

    .preview-card-row {
        padding: 0 13px;
        gap: 4px;
    }

    .code-sidebar {
        display: none;
    }

    .code-workspace {
        grid-template-columns: 1fr;
    }

    .code-output {
        font-size: 0.27rem;
    }

    .cards-grid,
    .cards-grid-four,
    .portfolio-grid,
    .pricing-grid,
    .process-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .card,
    .pricing-card {
        padding: 27px;
    }

    .about-visual {
        min-height: 390px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full {
        grid-column: auto;
    }

    .form-card {
        padding: 25px;
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .form-actions .button {
        width: 100%;
    }

    .cta {
        padding: 58px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }
}


/* =========================================================
   25. OMEZENÍ ANIMACÍ
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;
    }
}
.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 80px;
    width: auto;
    display: block;

    transition: transform .3s ease;
}

.logo:hover .logo-image {
    transform: scale(1.04);
}
.page-hero .hero-buttons{
    justify-content:center;
}
.cta .hero-buttons{
    justify-content:center;
}
.site-footer .logo img {
    height: 200px !important;
    margin-top: 0;
}
.page-hero .hero-buttons,
.cta .hero-buttons {
    justify-content: center;
}
/* FAQ */

.faq-answer{
    max-height:0;
    overflow:hidden;
    transition:max-height .35s ease;
}

.faq-answer-inner{
    padding:0 30px 30px;
    color:#b8bfd0;
    line-height:1.7;
}

.faq-item.active .faq-answer{
    max-height:300px;
}

.faq-icon{
    transition:.3s;
    font-size:28px;
    color:#5b8cff;
}

.faq-item.active .faq-icon{
    transform:rotate(45deg);
}
/* =========================================================
   VÍCEKROKOVÁ POPTÁVKA
========================================================= */

.inquiry-wrapper{
    width:min(820px, 100%);
    margin:0 auto;
    padding:42px;
    border:1px solid rgba(255,255,255,.1);
    border-radius:30px;
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.075),
            rgba(255,255,255,.025)
        );
    box-shadow:
        0 30px 80px rgba(0,0,0,.3),
        inset 0 1px 0 rgba(255,255,255,.08);
    backdrop-filter:blur(24px);
}

.inquiry-header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:30px;
    margin-bottom:24px;
}

.inquiry-title{
    margin:12px 0 0;
    font-size:clamp(1.45rem, 3vw, 2rem);
    line-height:1.2;
}

.inquiry-percentage{
    flex-shrink:0;
    padding:10px 16px;
    border:1px solid rgba(72,132,255,.25);
    border-radius:999px;
    background:rgba(72,132,255,.1);
    color:#8bb2ff;
    font-size:.9rem;
    font-weight:700;
}

.inquiry-progress{
    width:100%;
    height:8px;
    margin-bottom:42px;
    overflow:hidden;
    border-radius:999px;
    background:rgba(255,255,255,.07);
}

.inquiry-progress-bar{
    width:25%;
    height:100%;
    border-radius:inherit;
    background:linear-gradient(
        90deg,
        #4c79ff,
        #42b8ff
    );
    box-shadow:0 0 25px rgba(66,184,255,.45);
    transition:width .4s ease;
}

.inquiry-form{
    width:100%;
}

.form-step{
    display:none;
    animation:formStepIn .4s ease;
}

.form-step.active{
    display:block;
}

@keyframes formStepIn{

    from{
        opacity:0;
        transform:translateY(15px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

.form-step-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:64px;
    height:64px;
    margin-bottom:28px;
    border:1px solid rgba(255,255,255,.1);
    border-radius:20px;
    background:rgba(255,255,255,.06);
    font-size:1.75rem;
}

.form-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:22px;
}

.form-group{
    margin-bottom:24px;
}

.form-label{
    display:block;
    margin-bottom:10px;
    color:#f4f7ff;
    font-size:.95rem;
    font-weight:650;
}

.form-label span{
    color:#71a7ff;
}

.form-input,
.form-select,
.form-textarea{
    width:100%;
    border:1px solid rgba(255,255,255,.12);
    border-radius:15px;
    outline:none;
    background:rgba(7,12,26,.7);
    color:#f7f9ff;
    font:inherit;
    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.form-input,
.form-select{
    min-height:58px;
    padding:0 18px;
}

.form-textarea{
    min-height:210px;
    padding:18px;
    resize:vertical;
    line-height:1.65;
}

.form-input::placeholder,
.form-textarea::placeholder{
    color:rgba(225,232,255,.42);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus{
    border-color:rgba(77,139,255,.75);
    background:rgba(9,16,34,.9);
    box-shadow:0 0 0 4px rgba(77,139,255,.12);
}

.form-select{
    cursor:pointer;
}

.form-select option{
    background:#0d1428;
    color:#ffffff;
}

.form-input.invalid,
.form-select.invalid,
.form-textarea.invalid{
    border-color:#ff6f7d;
    box-shadow:0 0 0 4px rgba(255,111,125,.1);
}

.form-error{
    display:none;
    margin-top:9px;
    color:#ff8c97;
    font-size:.84rem;
    line-height:1.45;
}

.form-error.visible{
    display:block;
}

.form-hint{
    display:block;
    margin-top:10px;
    color:rgba(219,227,248,.55);
    font-size:.84rem;
    line-height:1.5;
}

.form-consent{
    display:flex;
    align-items:flex-start;
    gap:13px;
    margin-top:5px;
    color:rgba(225,231,247,.7);
    font-size:.88rem;
    line-height:1.6;
    cursor:pointer;
}

.form-consent input{
    width:18px;
    height:18px;
    margin-top:3px;
    accent-color:#578bff;
    flex-shrink:0;
}

.form-consent a{
    color:#76a6ff;
    text-decoration:underline;
    text-underline-offset:3px;
}

.consent-error{
    margin-left:31px;
}

.form-navigation{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    margin-top:38px;
}

.form-navigation-end{
    justify-content:flex-end;
}

.submit-loading{
    display:none;
}

#submitInquiryButton.loading{
    pointer-events:none;
    opacity:.75;
}

#submitInquiryButton.loading .submit-text{
    display:none;
}

#submitInquiryButton.loading .submit-loading{
    display:inline;
}


/* =========================================================
   ÚSPĚŠNÉ ODESLÁNÍ
========================================================= */

.success-modal{
    position:fixed;
    inset:0;
    z-index:9999;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
    visibility:hidden;
    opacity:0;
    transition:
        opacity .3s ease,
        visibility .3s ease;
}

.success-modal.active{
    visibility:visible;
    opacity:1;
}

.success-modal-overlay{
    position:absolute;
    inset:0;
    background:rgba(3,7,18,.82);
    backdrop-filter:blur(12px);
}

.success-modal-card{
    position:relative;
    z-index:1;
    width:min(470px, 100%);
    padding:45px 35px;
    border:1px solid rgba(255,255,255,.12);
    border-radius:28px;
    background:
        linear-gradient(
            145deg,
            rgba(24,34,63,.98),
            rgba(9,15,31,.98)
        );
    box-shadow:0 35px 100px rgba(0,0,0,.55);
    text-align:center;
    transform:translateY(20px) scale(.97);
    transition:transform .3s ease;
}

.success-modal.active .success-modal-card{
    transform:translateY(0) scale(1);
}

.success-modal-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:76px;
    height:76px;
    margin:0 auto 24px;
    border:1px solid rgba(73,210,144,.3);
    border-radius:50%;
    background:rgba(73,210,144,.12);
    color:#69e5aa;
    font-size:2rem;
    font-weight:800;
    box-shadow:0 0 40px rgba(73,210,144,.15);
}

.success-modal-title{
    margin:0 0 14px;
    font-size:1.8rem;
}

.success-modal-text{
    margin:0 0 28px;
    color:rgba(226,232,248,.7);
    line-height:1.7;
}


/* =========================================================
   RESPONSIVNÍ ZOBRAZENÍ POPTÁVKY
========================================================= */

@media (max-width:768px){

    .inquiry-wrapper{
        padding:28px 20px;
        border-radius:23px;
    }

    .inquiry-header{
        gap:15px;
    }

    .inquiry-percentage{
        padding:8px 12px;
        font-size:.8rem;
    }

    .form-grid{
        grid-template-columns:1fr;
        gap:0;
    }

    .form-navigation{
        flex-direction:column-reverse;
        align-items:stretch;
    }

    .form-navigation-end{
        flex-direction:column;
    }

    .form-navigation .button{
        width:100%;
        justify-content:center;
    }

}

@media (max-width:480px){

    .inquiry-wrapper{
        padding:25px 16px;
    }

    .inquiry-header{
        flex-direction:column;
    }

    .inquiry-progress{
        margin-bottom:32px;
    }

    .form-step-icon{
        width:56px;
        height:56px;
        border-radius:17px;
        font-size:1.5rem;
    }

    .success-modal-card{
        padding:38px 22px;
    }

}
.about-image{
    border: none;
    background: transparent;
    box-shadow: none;
}



/* =========================================================
   ANIMACE OBSAHU V MONITORU – PROČ WPC DESIGN
========================================================= */

.about-image-main {
    overflow: visible;
    border: none;
    background: transparent;
    box-shadow: none;
}

.about-image-main > img {
    position: relative;
    z-index: 1;
    object-fit: contain;
}

.about-monitor-screen {
    position: absolute;
    top: 11%;
    left: 16%;
    
    z-index: 3;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 4px;
    background:
        radial-gradient(
            circle at 78% 20%,
            rgba(20, 120, 255, 0.22),
            transparent 34%
        ),
        #060912;
    box-shadow:
        inset 0 0 18px rgba(0, 0, 0, 0.55),
        0 0 15px rgba(20, 120, 255, 0.12);
    transform:
        perspective(700px)
        rotateY(6deg)
        rotateX(0.5deg)
        skewY(0.5deg);
    transform-origin: center;
    pointer-events: none;
}

.about-monitor-screen::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 5;
    background:
        linear-gradient(
            115deg,
            rgba(255, 255, 255, 0.08),
            transparent 22%,
            transparent 75%,
            rgba(20, 120, 255, 0.05)
        );
    pointer-events: none;
}

.about-screen-browser {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 13%;
    padding-inline: 4%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.about-screen-browser span {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}

.about-screen-content {
    position: relative;
    height: 87%;
    padding: 8% 7%;
}

.about-screen-nav,
.about-screen-title,
.about-screen-button,
.about-screen-cards,
.about-screen-finished {
    opacity: 0;
    filter: blur(4px);
    transform: translateY(6px);
    transition:
        opacity 520ms ease,
        filter 520ms ease,
        transform 520ms ease;
}

.about-screen-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8%;
}

.about-screen-logo {
    color: #ffffff;
    font-size: clamp(0.22rem, 0.45vw, 0.42rem);
    font-weight: 800;
}

.about-screen-logo span {
    color: #55a3ff;
}

.about-screen-menu {
    display: flex;
    gap: 6px;
}

.about-screen-menu i {
    display: block;
    width: 12px;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
}

.about-screen-title {
    width: 78%;
    margin-bottom: 5%;
}

.about-screen-title strong {
    display: block;
    margin-bottom: 3%;
    color: #ffffff;
    font-size: clamp(0.34rem, 0.8vw, 0.72rem);
    line-height: 1.05;
}

.about-screen-title strong span {
    color: #55a3ff;
}

.about-screen-title em {
    display: block;
    width: 75%;
    height: 3px;
    margin-bottom: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.26);
}

.about-screen-title em:last-child {
    width: 54%;
}

.about-screen-button {
    width: 28%;
    height: 9px;
    margin-bottom: 8%;
    border-radius: 999px;
    background: linear-gradient(135deg, #1478ff, #6a5cff);
    box-shadow: 0 4px 12px rgba(20, 120, 255, 0.25);
}

.about-screen-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.about-screen-card {
    height: 22px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.045);
}

.about-screen-card::before,
.about-screen-card::after {
    content: "";
    display: block;
    height: 2px;
    margin-bottom: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.34);
}

.about-screen-card::after {
    width: 70%;
    background: rgba(20, 120, 255, 0.38);
}

.about-screen-finished {
    position: absolute;
    right: 5%;
    bottom: 6%;
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 2px 4px;
    border: 1px solid rgba(85, 163, 255, 0.28);
    border-radius: 999px;
    color: #b9d8ff;
    background: rgba(3, 8, 17, 0.78);
    font-size: clamp(0.15rem, 0.3vw, 0.26rem);
}

.about-screen-finished::before {
    content: "";
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #55a3ff;
    box-shadow: 0 0 5px rgba(85, 163, 255, 0.9);
}

.about-monitor-screen[data-about-stage="1"] .about-screen-nav,
.about-monitor-screen[data-about-stage="2"] .about-screen-nav,
.about-monitor-screen[data-about-stage="3"] .about-screen-nav,
.about-monitor-screen[data-about-stage="4"] .about-screen-nav,
.about-monitor-screen[data-about-stage="2"] .about-screen-title,
.about-monitor-screen[data-about-stage="3"] .about-screen-title,
.about-monitor-screen[data-about-stage="4"] .about-screen-title,
.about-monitor-screen[data-about-stage="3"] .about-screen-button,
.about-monitor-screen[data-about-stage="4"] .about-screen-button,
.about-monitor-screen[data-about-stage="4"] .about-screen-cards,
.about-monitor-screen[data-about-stage="4"] .about-screen-finished {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

.about-screen-scan {
    position: absolute;
    top: -25%;
    left: 0;
    z-index: 4;
    width: 100%;
    height: 18%;
    opacity: 0;
    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(85, 163, 255, 0.18),
            transparent
        );
    pointer-events: none;
}

.about-monitor-screen[data-about-stage="4"] .about-screen-scan {
    animation: about-screen-scan 2.4s ease-in-out 1;
}

@keyframes about-screen-scan {
    0% {
        top: -25%;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        top: 110%;
        opacity: 0;
    }
}
.modal-overlay{

    position:fixed;
    inset:0;

    background:rgba(0,0,0,.45);

    backdrop-filter:blur(20px);

    display:flex;
    justify-content:center;
    align-items:center;

    opacity:0;
    visibility:hidden;

    transition:.35s;

    z-index:9999;

}

.modal-overlay.show{

    opacity:1;
    visibility:visible;

}

.legal-modal{

    width:min(900px,92%);
    height:min(85vh,800px);

    background:rgba(18,18,24,.85);

    border:1px solid rgba(255,255,255,.08);

    border-radius:30px;

    backdrop-filter:blur(30px);

    box-shadow:
    0 30px 80px rgba(0,0,0,.45);

    overflow:hidden;

    transform:scale(.9);

    transition:.35s;

}

.modal-overlay.show .legal-modal{

    transform:scale(1);

}

.legal-header{

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:25px 35px;

    border-bottom:1px solid rgba(255,255,255,.08);

}

.legal-header h2{

    margin:0;

}

#closeLegalModal{

    width:42px;
    height:42px;

    border:none;

    border-radius:50%;

    cursor:pointer;

    background:rgba(255,255,255,.08);

    color:#fff;

    font-size:18px;

}

.legal-content{

    padding:35px;

    overflow:auto;

    height:calc(100% - 95px);

    line-height:1.8;
  


}
.footer-bottom-link{

    background:none;
    border:none;

    padding:0;

    font:inherit;

    color:#4f8cff;

    cursor:pointer;

    text-decoration:underline;

}
.legal-content{

    padding:35px;

    overflow:auto;

    height:calc(100% - 95px);

    line-height:1.8;

    white-space:pre-line;

}
.more-info-button{

    background:none;
    border:none;

    padding:0;

    color:#4f8cff;

    cursor:pointer;

    font:inherit;

    text-decoration:underline;

    transition:.25s;

}

.more-info-button:hover{

    color:#73a6ff;

}
.hero-title{
    display:block;

    width:fit-content;
    max-width:100%;

    padding-left:4px;
    padding-right:8px;
    padding-bottom:4px;

    overflow:visible;

    line-height:1.02;
}
.hero-title span{
    display:inline-block;

    padding-left:3px;
    padding-right:8px;
    padding-bottom:4px;

    background:linear-gradient(
        90deg,
        #dbeafe,
        #60a5fa,
        #7c5cff
    );

    -webkit-background-clip:text;
    background-clip:text;

    -webkit-text-fill-color:transparent;
    color:transparent;

    overflow:visible;
}

/* =========================================================
   26. FINÁLNÍ RESPONZIVNÍ OPRAVY WPC DESIGN
   Tato část má záměrně přednost před staršími pravidly.
========================================================= */

/* Stabilní chování dokumentu */
html {
    width: 100%;
    overflow-x: clip;
}

body {
    width: 100%;
    overflow-x: clip;
}

body.menu-open,
body.no-scroll {
    overflow: hidden;
    touch-action: none;
}

/* Bezpečné zalamování dlouhých textů */
h1,
h2,
h3,
h4,
p,
a,
button,
label,
li {
    overflow-wrap: anywhere;
}

.gradient-text,
.hero-title-highlight,
.hero-title span,
.page-hero-title span,
.section-title span,
.cta-title span {
    padding-inline: 0.06em 0.12em;
    padding-bottom: 0.05em;
    overflow: visible;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

/* Přehlednější maximální šířka obsahu na velkých monitorech */
.container {
    width: 100%;
    max-width: 1600px;
    padding-inline: clamp(20px, 4vw, 72px);
}

/* Header a logo */
.site-header {
    isolation: isolate;
}

.navigation {
    position: relative;
    z-index: 2;
}

.logo {
    min-width: 0;
}

.logo img,
.logo-image {
    display: block;
    width: auto;
    height: clamp(68px, 7vw, 108px) !important;
    margin-top: 0;
    object-fit: contain;
}

.site-footer .logo img,
.site-footer .logo-image {
    height: clamp(110px, 13vw, 180px) !important;
    max-width: min(100%, 290px);
}

/* Burger musí být nad mobilním menu a snadno ovladatelný dotykem */
.menu-toggle {
    position: relative;
    z-index: 1003;
    flex: 0 0 auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
    left: 50%;
    top: 50%;
    transform-origin: center;
    translate: -50% -50%;
}

.menu-toggle span:nth-child(1) {
    transform: translateY(-6px);
}

.menu-toggle span:nth-child(2) {
    transform: translateY(0);
}

.menu-toggle span:nth-child(3) {
    transform: translateY(6px);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
}

/* Obrázky, iframe a formuláře nikdy nepřetékají */
iframe,
input,
select,
textarea,
button {
    max-width: 100%;
}

.form-control,
.form-input,
.form-select,
.form-textarea {
    font-size: 16px;
}

/* Karty a gridy jsou odolnější vůči dlouhému obsahu */
.cards-grid > *,
.cards-grid-four > *,
.portfolio-grid > *,
.pricing-grid > *,
.process-grid > *,
.stats-grid > *,
.contact-grid > *,
.footer-grid > * {
    min-width: 0;
}

/* Hover efekty pouze tam, kde zařízení skutečně podporuje hover */
@media (hover: none) {
    .button:hover,
    .card:hover,
    .portfolio-card:hover,
    .pricing-card:hover,
    .contact-card:hover {
        transform: none;
    }
}

/* ---------------------------------------------------------
   NOTEBOOKY A MENŠÍ DESKTOPY
--------------------------------------------------------- */
@media (max-width: 1280px) {
    .navigation-menu {
        gap: clamp(18px, 2vw, 28px);
    }

    .hero-grid {
        grid-template-columns: minmax(0, 0.95fr) minmax(480px, 1.05fr);
        gap: clamp(36px, 4vw, 70px);
    }

    .hero-title {
        font-size: clamp(3rem, 5.7vw, 5.6rem);
    }

    .footer-grid {
        gap: 38px;
    }
}

/* ---------------------------------------------------------
   TABLETY
--------------------------------------------------------- */
@media (max-width: 1100px) {
    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero-content,
    .about-content {
        max-width: 820px;
        margin-inline: auto;
    }

    .hero-visual {
        width: min(100%, 800px);
        min-height: 520px;
        margin-inline: auto;
    }

    .about-visual {
        width: min(100%, 760px);
        margin-inline: auto;
    }

    .contact-map iframe {
        min-height: 430px;
    }
}

/* ---------------------------------------------------------
   MOBILNÍ NAVIGACE A VĚTŠÍ TELEFONY
--------------------------------------------------------- */
@media (max-width: 860px) {
    :root {
        --header-height: 76px;
    }

    .site-header {
        height: var(--header-height);
    }

    .site-header,
    .site-header.scrolled {
        background: rgba(3, 5, 10, 0.88);
        border-color: var(--border);
        backdrop-filter: blur(22px);
        -webkit-backdrop-filter: blur(22px);
    }

    .navigation {
        gap: 14px;
    }

    .logo img,
    .logo-image {
        height: 70px !important;
    }

    .navigation-menu {
        position: fixed;
        top: calc(var(--header-height) + 10px);
        right: 14px;
        left: 14px;
        z-index: 1002;

        max-height: calc(100dvh - var(--header-height) - 24px);
        overflow-y: auto;
        overscroll-behavior: contain;

        padding: 14px;
        gap: 4px;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: translateY(-12px) scale(0.985);
        transform-origin: top center;
    }

    .navigation-menu.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .navigation-link {
        display: flex;
        align-items: center;
        min-height: 50px;
        padding: 13px 15px;
    }

    .menu-toggle {
        display: grid;
        width: 46px;
        height: 46px;
    }

    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + 52px);
        padding-bottom: 64px;
    }

    .hero-grid {
        gap: 36px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-badge,
    .hero-buttons,
    .hero-benefits {
        justify-content: center;
    }

    .hero-description {
        margin-inline: auto;
    }

    .hero-title {
        margin-inline: auto;
        font-size: clamp(2.85rem, 10.8vw, 5rem);
        line-height: 0.98;
    }

    .hero-visual {
        min-height: clamp(360px, 62vw, 500px);
    }

    .page-hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + 72px);
        padding-bottom: 72px;
    }

    .page-hero-title {
        font-size: clamp(2.6rem, 9vw, 4.8rem);
        line-height: 1.04;
    }

    .section {
        padding: 82px 0;
    }

    .section-small {
        padding: 64px 0;
    }

    .section-title {
        font-size: clamp(2.15rem, 7vw, 3.7rem);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-map iframe {
        min-height: 390px;
    }

    .cta-section {
        padding-bottom: 82px;
    }
}

/* ---------------------------------------------------------
   TELEFONY
--------------------------------------------------------- */
@media (max-width: 640px) {
    .container {
        width: 100%;
        max-width: none;
        padding-inline: 18px;
    }

    .site-header .container {
        padding-inline: 14px;
    }

    .logo img,
    .logo-image {
        height: 62px !important;
        max-width: 190px;
    }

    .section {
        padding: 68px 0;
    }

    .section-small {
        padding: 52px 0;
    }

    .section-header {
        margin-bottom: 34px;
    }

    .section-label {
        margin-bottom: 14px;
        font-size: 0.72rem;
        letter-spacing: 0.14em;
    }

    .section-title {
        margin-bottom: 18px;
        font-size: clamp(2rem, 10vw, 3rem);
        line-height: 1.06;
        letter-spacing: -0.045em;
    }

    .section-description,
    .page-hero-description {
        font-size: 1rem;
        line-height: 1.72;
    }

    .hero {
        padding-top: calc(var(--header-height) + 42px);
        padding-bottom: 48px;
    }

    .hero-badge {
        margin-bottom: 20px;
        padding: 8px 12px;
        font-size: 0.76rem;
    }

    .hero-title {
        width: 100%;
        margin-bottom: 22px;
        padding-inline: 0;
        font-size: clamp(2.5rem, 13vw, 3.8rem);
        line-height: 1;
        letter-spacing: -0.055em;
    }

    .hero-description {
        margin-bottom: 28px;
        font-size: 0.98rem;
        line-height: 1.72;
    }

    .hero-buttons {
        width: 100%;
        margin-bottom: 30px;
        gap: 12px;
    }

    .hero-buttons .button {
        width: 100%;
        min-height: 52px;
        padding-inline: 20px;
    }

    .hero-benefits {
        display: grid;
        width: 100%;
        gap: 12px;
        text-align: left;
    }

    .hero-benefit {
        justify-content: flex-start;
    }

    .hero-visual {
        min-height: clamp(300px, 88vw, 390px);
        overflow: visible;
    }

    .hero-visual-glow {
        width: 105%;
        height: 88%;
    }

    .hero-orbit {
        top: 49%;
        left: 50%;
        width: 94%;
        height: 82%;
    }

    .studio-monitor--preview {
        top: 48%;
        left: 39%;
        width: 73%;
        padding: 5px;
        border-radius: 14px;
        transform: translate(-50%, -50%);
    }

    .studio-monitor--code {
        top: 47%;
        right: 0;
        width: 31%;
        padding: 4px;
        border-radius: 11px;
        transform: translateY(-50%);
    }

    .monitor-screen {
        border-radius: 10px;
    }

    .monitor-stand {
        height: 38px;
    }

    .preview-copy {
        width: 86%;
        padding: 13px 11px 8px;
    }

    .preview-heading {
        margin-bottom: 5px;
        line-height: 1.18;
    }

    .preview-card-row {
        padding-inline: 11px;
    }

    .preview-status,
    .preview-menu,
    .studio-caption {
        display: none;
    }

    .page-hero {
        padding-top: calc(var(--header-height) + 54px);
        padding-bottom: 58px;
    }

    .page-hero-title {
        margin-bottom: 20px;
        font-size: clamp(2.35rem, 11vw, 3.35rem);
        line-height: 1.04;
        letter-spacing: -0.05em;
    }

    .cards-grid,
    .cards-grid-four,
    .portfolio-grid,
    .pricing-grid,
    .process-grid,
    .stats-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .card,
    .pricing-card {
        padding: 24px;
        border-radius: 22px;
    }

    .card-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 20px;
    }

    .pricing-badge {
        position: static;
        align-self: flex-start;
        margin-bottom: 16px;
    }

    .pricing-description {
        min-height: 0;
    }

    .pricing-price {
        font-size: clamp(2.2rem, 11vw, 2.7rem);
    }

    .process-item {
        padding-inline: 8px;
    }

    .about-visual {
        min-height: 330px;
    }

    .about-image-main {
        inset: 0 8% 10% 0;
    }

    .about-image-small {
        width: 44%;
        height: 42%;
    }

    .contact-card {
        gap: 14px;
        padding: 20px;
    }

    .contact-icon {
        width: 44px;
        height: 44px;
    }

    .contact-map iframe {
        min-height: 320px;
    }

    .form-card {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .form-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .form-group.full {
        grid-column: auto;
    }

    .form-control,
    .form-input,
    .form-select,
    .form-textarea {
        min-height: 52px;
        padding-inline: 15px;
    }

    textarea.form-control,
    .form-textarea {
        min-height: 140px;
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
        margin-top: 22px;
    }

    .form-actions .button {
        width: 100%;
    }

    .faq-question {
        min-height: 64px;
        padding: 19px;
        font-size: 0.96rem;
    }

    .faq-answer p {
        padding: 0 19px 19px;
    }

    .faq-answer-inner {
        padding: 0 19px 19px;
    }

    .cta {
        padding: 48px 20px;
        border-radius: 24px;
    }

    .cta-title {
        font-size: clamp(2rem, 10vw, 3rem);
        line-height: 1.06;
    }

    .cta-text {
        font-size: 0.98rem;
    }

    .site-footer {
        padding-top: 58px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .site-footer .logo img,
    .site-footer .logo-image {
        height: 120px !important;
        max-width: 220px;
    }

    .footer-bottom {
        align-items: flex-start;
        margin-top: 44px;
        gap: 18px;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }

    .legal-modal,
    .modal-overlay {
        padding: 12px;
    }

    .legal-box,
    .modal-card {
        width: 100%;
        max-height: calc(100dvh - 24px);
        border-radius: 20px;
    }

    .legal-content {
        height: auto;
        max-height: calc(100dvh - 105px);
        padding: 22px 18px;
        font-size: 0.92rem;
    }
}

/* ---------------------------------------------------------
   MALÉ TELEFONY
--------------------------------------------------------- */
@media (max-width: 380px) {
    .container {
        padding-inline: 14px;
    }

    .hero-title {
        font-size: clamp(2.25rem, 13vw, 3.05rem);
    }

    .page-hero-title {
        font-size: clamp(2.1rem, 11vw, 2.8rem);
    }

    .button {
        min-height: 50px;
        padding-inline: 17px;
        font-size: 0.9rem;
    }

    .card,
    .pricing-card {
        padding: 21px;
    }

    .hero-visual {
        min-height: 275px;
    }
}

/* ---------------------------------------------------------
   MOBIL NA ŠÍŘKU
--------------------------------------------------------- */
@media (max-height: 520px) and (orientation: landscape) and (max-width: 940px) {
    .navigation-menu {
        top: 8px;
        bottom: 8px;
        max-height: none;
    }

    .hero {
        padding-top: calc(var(--header-height) + 32px);
    }

    .hero-visual {
        min-height: 310px;
    }
}

/* ---------------------------------------------------------
   OMEZENÍ NÁROČNÝCH EFEKTŮ NA DOTYKOVÝCH ZAŘÍZENÍCH
--------------------------------------------------------- */

@media (pointer: coarse) {
    .glass,
    .glass-dark,
    .card,
    .pricing-card,
    .form-card,
    .cta {
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }
}

/* =========================================================
   27. FINÁLNÍ OPRAVY – PUBLIKAČNÍ VERZE
========================================================= */

/* ---------------------------------------------------------
   PROČ WPC DESIGN – FUNKČNÍ POHYB DRUHÉHO MONITORU
--------------------------------------------------------- */

/*
   Animuje se skutečný obal monitoru, který v HTML existuje:
   .about-image-main

   Obsah obrazovky má vlastní transformaci, takže se pohyb
   obalu a perspektiva obrazovky navzájem nepřepisují.
*/

.about-image-main {
    animation: wpc-about-monitor-float 5.5s ease-in-out infinite;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

@keyframes wpc-about-monitor-float {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -14px, 0);
    }
}


/* ---------------------------------------------------------
   MOBIL – DRUHÝ MONITOR
--------------------------------------------------------- */

@media (max-width: 640px) {

    /*
       Výška obalu je menší než v původní verzi, aby mezi
       monitorem a následujícím textem nevznikala velká mezera.
    */

    .about-visual {
        width: 100%;
        min-height: 315px;
        margin-inline: auto;
    }

    /*
       Celý monitor je na telefonu vystředěný.
    */

    .about-image-main {
        inset: 0;
        width: 100%;
        height: 100%;
        margin: 0;

        display: flex;
        align-items: center;
        justify-content: center;

        overflow: visible;

        animation: wpc-about-monitor-float 5.5s ease-in-out infinite;
    }

    .about-image-main > img {
        position: relative;
        z-index: 1;

        width: min(100%, 390px);
        height: auto;
        margin-inline: auto;

        object-fit: contain;
    }

    /*
       Animovaný obsah uvnitř monitoru je vystředěn samostatně.
       Translate je zachován přímo v transformaci obrazovky.
    */

    .about-monitor-screen {
        top: 50%;
        left: 50%;

        width: min(84%, 330px);
        height: auto;

        transform:
            translate(-50%, -50%)
            perspective(700px)
            rotateY(4deg)
            rotateX(0.5deg)
            skewY(0.35deg);

        transform-origin: center center;
    }
}


/* ---------------------------------------------------------
   FOOTER – MOBIL KOMPLETNĚ DOPROSTŘED
--------------------------------------------------------- */

@media (max-width: 640px) {

    .site-footer {
        text-align: center;
    }

    .site-footer .footer-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;

        width: 100%;
        gap: 36px;

        text-align: center;
    }

    .site-footer .footer-grid > * {
        width: 100%;
        max-width: 360px;

        margin-inline: auto;

        text-align: center;
    }

    .site-footer .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        width: 100%;
        max-width: 360px;

        margin-inline: auto;

        text-align: center;
    }

    .site-footer .logo {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 100%;
        margin-inline: auto;
    }

    .site-footer .logo img,
    .site-footer .logo-image {
        display: block;

        width: auto;
        max-width: min(220px, 100%);
        height: 120px !important;

        margin: 0 auto !important;

        object-fit: contain;
    }

    .site-footer .footer-description {
        width: 100%;
        max-width: 330px;

        margin: 18px auto 0;

        text-align: center;
    }

    .site-footer .footer-title {
        width: 100%;
        margin-bottom: 18px;

        text-align: center;
    }

    .site-footer .footer-links,
    .site-footer .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        width: 100%;
        gap: 12px;

        text-align: center;
    }

    .site-footer .footer-link,
    .site-footer .footer-contact-item {
        display: block;

        width: fit-content;
        max-width: 100%;

        margin-inline: auto;

        text-align: center;
    }

    .site-footer .footer-link:hover {
        transform: none;
    }

    .site-footer .footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        width: 100%;
        gap: 18px;

        margin-top: 44px;

        text-align: center;
    }

    .site-footer .footer-bottom > * {
        margin-inline: auto;
        text-align: center;
    }

    .site-footer .footer-bottom-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        width: 100%;
        gap: 10px;

        text-align: center;
    }

    .site-footer .footer-bottom-link {
        display: block;
        width: fit-content;

        margin-inline: auto;

        text-align: center;
    }
}


/* ---------------------------------------------------------
   VELMI MALÉ TELEFONY
--------------------------------------------------------- */

@media (max-width: 380px) {

    .about-visual {
        min-height: 280px;
    }

    .about-image-main > img {
        width: min(100%, 345px);
    }

    .about-monitor-screen {
        width: min(83%, 290px);
    }

    .site-footer .footer-grid > *,
    .site-footer .footer-brand {
        max-width: 320px;
    }

    .site-footer .logo img,
    .site-footer .logo-image {
        height: 108px !important;
        max-width: 200px;
    }
}


/* ---------------------------------------------------------
   OMEZENÍ ANIMACÍ PODLE NASTAVENÍ ZAŘÍZENÍ
--------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .about-image-main {
        animation: none !important;
        transform: none !important;
    }
}
/* Portfolio */


/* =========================================================
   26. FINÁLNÍ MOBILNÍ ÚPRAVY WPC DESIGN
   - služby a portfolio jako horizontální slider
   - Jak pracuji: 2 × 2
   - Proč WPC: 3 malé bloky vedle sebe
   - Ceník: kompaktní karty přibližně o polovinu nižší
========================================================= */

@media (max-width: 640px) {

    /* -----------------------------------------------------
       SLUŽBY – 1 CELÁ KARTA + ČÁST DALŠÍ
    ----------------------------------------------------- */

    .cards-grid,
    .cards-grid-four {
        display: flex;
        justify-content: flex-start;
        gap: 14px;

        width: calc(100% + 18px);
        margin-right: -18px;
        padding-right: 18px;
        padding-bottom: 10px;

        overflow-x: auto;
        overflow-y: hidden;

        scroll-snap-type: x mandatory;
        scroll-padding-left: 0;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;
    }

    .cards-grid::-webkit-scrollbar,
    .cards-grid-four::-webkit-scrollbar {
        display: none;
    }

    .cards-grid > *,
    .cards-grid-four > * {
        flex: 0 0 76%;
        width: 76%;
        min-width: 0;

        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    /* -----------------------------------------------------
       PORTFOLIO – HORIZONTÁLNÍ POSOUVÁNÍ
    ----------------------------------------------------- */

    .portfolio-grid {
        display: flex;
        justify-content: flex-start;
        gap: 14px;

        width: calc(100% + 18px);
        margin-right: -18px;
        padding-right: 18px;
        padding-bottom: 10px;

        overflow-x: auto;
        overflow-y: hidden;

        scroll-snap-type: x mandatory;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;
    }

    .portfolio-grid::-webkit-scrollbar {
        display: none;
    }

    .portfolio-grid > * {
        flex: 0 0 84%;
        width: 84%;
        min-width: 0;

        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    /* -----------------------------------------------------
       JAK PRACUJI – 2 BLOKY NA ŘÁDKU, DALŠÍ 2 POD NIMI
    ----------------------------------------------------- */

    .process-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .process-grid::before {
        display: none;
    }

    .process-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;

        min-width: 0;
        padding: 18px 10px;

        border: 1px solid var(--border);
        border-radius: 18px;

        background: var(--gradient-surface);
        box-shadow:
            var(--shadow-small),
            inset 0 1px 0 rgba(255, 255, 255, 0.05);

        text-align: center;
    }

    .process-number {
        width: 50px;
        height: 50px;
        margin-bottom: 14px;

        font-size: 0.92rem;
    }

    .process-title {
        margin-bottom: 7px;

        font-size: 0.96rem;
        line-height: 1.25;
    }

    .process-text {
        font-size: 0.76rem;
        line-height: 1.5;
    }

    /* -----------------------------------------------------
       PROČ WPC – 3 MENŠÍ BUBLINY VEDLE SEBE
    ----------------------------------------------------- */

    .stats-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .stat {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        min-width: 0;
        min-height: 92px;
        padding: 12px 6px;

        border-radius: 15px;

        text-align: center;
    }

    .stat-number {
        margin-bottom: 3px;

        font-size: clamp(1.25rem, 6vw, 1.65rem);
        line-height: 1;
        white-space: nowrap;
    }

    .stat-label {
        font-size: clamp(0.58rem, 2.7vw, 0.72rem);
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

    /* -----------------------------------------------------
       CENÍK – KOMPAKTNÍ KARTY A HORIZONTÁLNÍ SLIDER
    ----------------------------------------------------- */

    .pricing-grid {
        display: flex;
        align-items: stretch;
        justify-content: flex-start;
        gap: 14px;

        width: calc(100% + 18px);
        margin-right: -18px;
        padding-right: 18px;
        padding-bottom: 12px;

        overflow-x: auto;
        overflow-y: hidden;

        scroll-snap-type: x mandatory;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;
    }

    .pricing-grid::-webkit-scrollbar {
        display: none;
    }

    .pricing-grid > * {
        flex: 0 0 84%;
        width: 84%;
        min-width: 0;

        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .pricing-card {
        padding: 20px;
        border-radius: 21px;
    }

    .pricing-badge {
        position: absolute;
        top: 14px;
        right: 14px;

        margin: 0;
        padding: 5px 9px;

        font-size: 0.62rem;
    }

    .pricing-name {
        max-width: 65%;
        margin-bottom: 6px;

        font-size: 1.08rem;
        line-height: 1.25;
    }

    .pricing-description {
        min-height: 0;
        margin-bottom: 12px;

        font-size: 0.78rem;
        line-height: 1.45;
    }

    .pricing-price {
        margin-bottom: 13px;

        font-size: clamp(1.85rem, 9vw, 2.25rem);
        line-height: 1.05;
    }

    .pricing-price span {
        font-size: 0.76rem;
    }

    /* Dva sloupce položek výrazně zkrátí výšku karty */
    .pricing-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 12px;
        margin-bottom: 16px;
    }

    .pricing-list li {
        gap: 6px;

        font-size: 0.72rem;
        line-height: 1.35;
    }

    .pricing-list li::before {
        font-size: 0.76rem;
    }

    .pricing-card .button {
        min-height: 44px;
        padding-inline: 16px;

        font-size: 0.82rem;
    }
}


/* ---------------------------------------------------------
   VELMI MALÉ TELEFONY – UDRŽENÍ ČITELNOSTI
--------------------------------------------------------- */

@media (max-width: 380px) {

    .process-grid {
        gap: 10px;
    }

    .process-item {
        padding: 15px 7px;
    }

    .process-text {
        font-size: 0.7rem;
    }

    .stats-grid {
        gap: 6px;
    }

    .stat {
        min-height: 86px;
        padding-inline: 4px;
    }

    .pricing-grid > * {
        flex-basis: 88%;
        width: 88%;
    }

    .pricing-card {
        padding: 18px;
    }
}

/* =========================================================
   26. FOOTER – KOMPAKTNÍ MOBILNÍ VERZE
   Přepisuje starší mobilní pravidla footeru.
========================================================= */

@media (max-width: 640px) {

    .site-footer {
        padding: 34px 0 18px;
        text-align: center;
    }

    .site-footer .footer-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        justify-items: center;

        width: 100%;
        gap: 24px 14px;

        text-align: center;
    }

    .site-footer .footer-grid > * {
        width: 100%;
        min-width: 0;
        margin: 0;
    }

    .site-footer .footer-brand {
        grid-column: 1 / -1;

        display: flex;
        flex-direction: column;
        align-items: center;

        max-width: 330px;
        margin-inline: auto;
    }

    .site-footer .logo {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 100%;
        margin: 0;
    }

    .site-footer .logo img,
    .site-footer .logo-image {
        display: block;

        width: auto;
        max-width: 150px;
        height: 82px !important;

        margin: 0 auto !important;

        object-fit: contain;
    }

    .site-footer .footer-description {
        max-width: 310px;
        margin: 6px auto 0;

        font-size: 0.8rem;
        line-height: 1.55;
        text-align: center;
    }

    .site-footer .footer-title {
        margin-bottom: 10px;

        font-size: 0.84rem;
        line-height: 1.3;
        text-align: center;
    }

    .site-footer .footer-links,
    .site-footer .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;

        gap: 6px;
        width: 100%;

        text-align: center;
    }

    .site-footer .footer-link,
    .site-footer .footer-contact-item {
        display: block;

        width: fit-content;
        max-width: 100%;
        margin-inline: auto;

        font-size: 0.78rem;
        line-height: 1.4;
        overflow-wrap: anywhere;
        text-align: center;
    }

    .site-footer .footer-link:hover {
        transform: none;
    }

    .site-footer .footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        width: 100%;
        gap: 10px;

        margin-top: 25px;
        padding-top: 15px;

        font-size: 0.72rem;
        line-height: 1.4;
        text-align: center;
    }

    .site-footer .footer-bottom > * {
        margin-inline: auto;
        text-align: center;
    }

    .site-footer .footer-bottom-links {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;

        width: 100%;
        gap: 6px 14px;

        text-align: center;
    }

    .site-footer .footer-bottom-link {
        display: block;
        width: fit-content;
        margin: 0;

        font-size: 0.7rem;
        text-align: center;
    }
}

@media (max-width: 380px) {

    .site-footer .footer-grid {
        gap: 20px 10px;
    }

    .site-footer .logo img,
    .site-footer .logo-image {
        height: 72px !important;
        max-width: 135px;
    }

    .site-footer .footer-description {
        font-size: 0.76rem;
    }

    .site-footer .footer-link,
    .site-footer .footer-contact-item {
        font-size: 0.73rem;
    }
}
