:root {
    --black: #1c1c1c;
    --grey: #bbb;
    --green: #20ce88;
    --white: #fff
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--black);
    font-family: Inter, Arial, sans-serif;
    font-size: 13px
}

.site-container {
    max-width: 1500px;
    padding-left: 28px;
    padding-right: 28px
}

.section-pad {
    padding-top: 88px;
    padding-bottom: 88px
}

.site-header {
    height: 58px;
    z-index: 20;
    border-bottom: 1px solid rgba(255, 255, 255, .42);
    color: #fff;
    transition: .25s
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand img {
    max-height: 26px;
    max-width: 130px
}

.brand small,
.footer-logo small {
    font-size: .48em;
    letter-spacing: -.5px
}

.main-nav {
    display: flex;
    gap: 25px;
    margin-right: auto;
    margin-left: 170px
}

.main-nav a {
    color: #fff;
    font-size: 10px;
    text-decoration: none
}

.main-nav a:hover {
    color: var(--green)
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 0;
    border-radius: 30px;
    padding: 11px 14px 11px 18px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: transform .25s, background .25s
}

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

.button-white {
    background: #fff;
    color: var(--black)
}

.button-dark {
    background: var(--black);
    color: #fff;
    padding: 9px 16px
}

.button-dot {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--green);
    font-size: 15px
}

.header-cta {
    padding: 10px 16px
}

.menu-toggle {
    color: #fff;
    background: transparent;
    border: 0;
    font-size: 25px
}

.hero {
    position: relative;
    isolation: isolate;
    height: min(760px, 100vh);
    min-height: 620px;
    overflow: hidden;
    color: #fff
}

.hero-slide,
.hero-shade {
    position: absolute;
    inset: 0
}

.hero-slide {
    z-index: -2;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.4s ease, transform 8s ease
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1)
}

.hero-slide-one {
    background-image: url('../img/hero-1.webp')
}

.hero-slide-two {
    background-image: url('../img/hero-1.webp')
}

.hero-slide-three {
    background-image: url('../img/hero-1.webp')
}

.hero-shade {
    z-index: -1;
    background: linear-gradient(90deg, rgba(9, 22, 18, .53), rgba(10, 18, 12, .08) 65%, rgba(0, 0, 0, .12)), linear-gradient(0deg, rgba(0, 0, 0, .45), transparent 45%)
}

.hero-content {
    height: 100%;
    position: relative
}

.hero-copy {
    position: absolute;
    top: 22%;
    left: 27%;
}

.hero h1 {
    margin: 0 0 23px;
    font-size: clamp(37px, 4.3vw, 66px);
    font-weight: 500;
    line-height: .94;
    letter-spacing: -3px
}

.hero-side-label {
    position: absolute;
    top: 19%;
    left: 28px;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.33;
    text-transform: uppercase
}

.hero-caption {
    position: absolute;
    left: 27%;
    bottom: 25px;
    font-size: 11px;
    line-height: 1.25
}

.hero-dots {
    position: absolute;
    right: 28px;
    bottom: 28px;
    display: flex;
    gap: 8px
}

.hero-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 1px solid white;
    border-radius: 10px;
    background: transparent
}

.hero-dots button.active {
    width: 25px;
    background: #fff
}

.management h2 {
    font-size: clamp(44px, 6vw, 85px);
    line-height: 1;
    margin: 0 0 54px;
    font-weight: 600;
    letter-spacing: -4px
}

.rule {
    height: 1px;
    background: #e4e4e4
}

.management-layout {
    min-height: 420px
}

.intro-text {
    padding: 42px 36px 25px 0;
    font-size: 10px;
    line-height: 1.22
}

.intro-text p {
    margin: 0 0 15px
}

.brands {
    margin-top: 50px
}

.brands small {
    display: block;
    font-size: 9px;
    font-weight: 600;
    margin-bottom: 8px
}

.brands div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px
}

.brands b {
    display: grid;
    place-items: center;
    height: 40px;
    background: #f6f6f6;
    font-size: 13px
}

.honeywell {
    color: #ec2027
}

.siemens {
    color: #3a84bd;
    font-size: 9px !important
}

.wago {
    color: #65bf00;
    font-size: 20px !important
}

.service-tabs {
    border-left: 1px solid #e5e5e5;
    padding: 38px 0 0 28px;
    gap: 23px
}

.service-tabs button {
    padding: 0;
    background: 0;
    border: 0;
    text-align: left;
    color: #c4c4c4;
    font-size: 25px;
    font-weight: 600;
    line-height: 1;
    transition: .2s
}

.service-tabs button.active,
.service-tabs button:hover {
    color: var(--black)
}

.service-content {
    border-left: 1px solid #e5e5e5;
    padding: 47px 0 20px 30px
}

.service-content img {
    width: 100%;
    height: 400px;
    border-radius: 3px;
    object-fit: cover
}

.service-content p {
    max-width: 250px;
    margin: 18px 0 12px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.3
}

.numbers {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #04120f;
    color: #fff;
    min-height: 680px
}

.numbers-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, .1)), url('../img/bg-partner.webp') center/cover;
    filter: saturate(1.4);
    animation: drift 15s ease-in-out infinite alternate
}

.numbers-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 480px;
    padding-top: 130px;
    padding-left: 27%
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 5px
}

.stat strong {
    font-size: 62px;
    letter-spacing: -4px
}

.stat span {
    font-size: 9px
}

.partner-row {
    position: absolute;
    bottom: 0;
    left: 28px;
    right: 28px;
    height: 115px;
    border-top: 1px solid rgba(255, 255, 255, .25);
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-size: 17px;
    font-weight: 700
}

.statement {
    position: relative;
    min-height: 890px;
    display: grid;
    place-items: center;
    overflow: hidden
}

.statement-copy {
    position: relative;
    text-align: center;
    z-index: 2
}

.statement h2 {
    margin: 0;
    font-size: clamp(27px, 3.2vw, 49px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -2.5px
}

.grid-points {
    position: absolute;
    width: 460px;
    height: 330px;
    background-image: radial-gradient(#ddd 1px, transparent 1.5px);
    background-size: 12px 12px;
    opacity: .7;
    animation: floatGrid 10s ease-in-out infinite
}

.floating-icon {
    position: absolute;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border: 1px solid #777;
    border-radius: 2px;
    color: #444;
    font-size: 27px;
    animation: float 5s ease-in-out infinite
}

.floating-icon.one {
    top: 15%;
    left: 29%;
    animation-delay: -3s
}

.floating-icon.two {
    top: 20%;
    right: 29%;
    animation-delay: -2s
}

.floating-icon.three {
    bottom: 13%;
    left: 42%;
    animation-delay: -1s
}

.floating-icon.four {
    top: 50%;
    right: 4%;
    animation-delay: -4s
}

.floating-icon.five {
    bottom: 14%;
    right: 7%;
    animation-delay: -2.5s
}

.floating-icon.six {
    bottom: 14%;
    left: 7%;
    animation-delay: -.5s
}

.references {
    border-top: 1px solid #eee;
    padding-top: 36px
}

.reference-filter {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 34px
}

.reference-filter button {
    padding: 0 0 8px;
    background: 0;
    border: 0;
    border-bottom: 2px solid transparent;
    font-size: 9px;
    color: #888;
    text-transform: uppercase;
    font-weight: 600
}

.reference-filter button.active {
    border-color: var(--green);
    color: var(--black)
}

.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 3px
}

.project-card h3 {
    font-size: 17px;
    letter-spacing: -.8px;
    font-weight: 600;
    margin: 12px 0 4px
}

.project-card p {
    font-size: 10px;
    line-height: 1.25;
    margin: 0
}

.carousel {
    padding-bottom: 34px
}

.carousel-control-next,
.carousel-control-prev {
    width: 32px;
    height: 32px;
    top: 96px;
    opacity: 1;
    border-radius: 50%;
    background: #fff;
    color: var(--black);
    box-shadow: 0 1px 8px #777;
    font-size: 15px
}

.carousel-control-next {
    right: 8px
}

.carousel-control-prev {
    left: 8px
}

.footer {
    position: relative;
    isolation: isolate;
    min-height: 590px;
    background: #020705;
    color: #fff;
    overflow: hidden
}

.footer-glow {
    position: absolute;
    width: 80vw;
    height: 80vw;
    top: -30vw;
    left: -12vw;
    z-index: -1;
    border: 1px solid rgba(32, 206, 136, .5);
    border-radius: 50%;
    box-shadow: 0 0 80px 20px rgba(0, 180, 102, .18), inset 0 0 40px rgba(0, 180, 102, .12);
    animation: glowPulse 8s ease-in-out infinite
}

.footer-content {
    position: relative;
    min-height: 590px
}

.footer-cta {
    padding-top: 125px;
    text-align: center
}

.footer h2 {
    margin: 0 0 18px;
    font-size: clamp(34px, 4vw, 57px);
    line-height: .98;
    letter-spacing: -3px;
    font-weight: 600
}

.footer-cta p {
    font-size: 10px;
    margin-bottom: 20px
}

.footer-bottom {
    position: absolute;
    right: 28px;
    bottom: 37px;
    left: 28px;
    display: grid;
    grid-template-columns: 1fr 1.15fr 1.15fr 1fr 1.25fr;
    gap: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .2)
}

.footer-bottom small {
    font-size: 8px;
    color: #aaa
}

.footer-bottom p {
    margin: 10px 0;
    font-size: 10px;
    line-height: 1.45
}

.footer-bottom a {
    color: inherit;
    text-decoration: none;
    transition: color .25s ease;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
    color: var(--green);
}

.footer-logo {
    align-self: center;
    text-align: right;
    font-size: 37px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -3px
}

.copyright {
    position: absolute;
    right: 28px;
    bottom: 14px;
    font-size: 8px;
    color: #aaa
}

@keyframes drift {
    to {
        transform: scale(1.1) translateX(-1.5%)
    }
}

@keyframes float {
    50% {
        transform: translate3d(0, -13px, 0) rotate(4deg);
        border-color: var(--green);
        box-shadow: 0 8px 20px rgba(32, 206, 136, .12)
    }
}

@keyframes floatGrid {
    50% {
        transform: translateY(-15px) rotate(1deg);
        opacity: .35
    }
}

@keyframes glowPulse {
    50% {
        transform: scale(1.1) translate(5%, 4%);
        filter: brightness(1.5)
    }
}

@media(max-width:991px) {
    .site-header {
        background: rgba(15, 15, 15, .99);
        backdrop-filter: blur(8px)
    }
.main-nav{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 100dvh;
    box-sizing: border-box;

    background: #0b0b0b;
}
.main-nav{
    position: fixed;
    inset: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    padding: 110px 30px 40px;

    background: linear-gradient(
        180deg,
        #111111 0%,
        #0b0b0b 50%,
        #050505 100%
    );

    backdrop-filter: blur(8px);

    gap: 0;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);

    transition: .35s ease;

    z-index: 999;
}

.main-nav::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    width: 100%;
    height: 45%;

    background: url("../img/bg-nav.webp") center bottom / cover no-repeat;

    opacity:1;      /* uprav dle potřeby */
    pointer-events: none;
    z-index: 0;
}

    .main-nav.show{
        opacity:1;
        visibility:visible;
        transform:none;
    }

    .main-nav a{
        width:100%;
        padding:18px 0;

        font-size:28px;
        font-weight:500;

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

    .header-cta{
        display:none;
    }

    .mobile-nav-footer{
        margin-top:auto;
        width:100%;
        padding-top:30px;
    }

    .mobile-nav-footer .button{
        width:100%;
        justify-content:space-between;
        color:#1c1c1c!important;
    }

    .menu-toggle{
        position:relative;
        z-index:1001;
    }

    .hero-copy,
    .hero-caption {
        left: 15%
    }

    .numbers-content {
        padding-left: 15%
    }

    .service-tabs {
        border-left: 0;
        border-top: 1px solid #e5e5e5;
        flex-direction: row !important;
        flex-wrap: wrap;
        padding: 28px 0;
        gap: 20px
    }

    .service-content {
        border-left: 0;
        border-top: 1px solid #e5e5e5;
        padding: 30px 0
    }

    .intro-text {
        padding-right: 0
    }

    .management-layout {
        display: block
    }

    .statement {
        min-height: 480px
    }

    .floating-icon.one {
        left: 10%
    }

    .floating-icon.two {
        right: 10%
    }

    .reference-filter {
        overflow: auto;
        justify-content: flex-start
    }

    .reference-filter button {
        white-space: nowrap
    }

    .numbers-content {
        height: 420px;
        padding-top: 105px
    }

    .numbers {
        min-height: 420px
    }

    .partner-row {
        height: 90px
    }

    .footer-bottom {
        grid-template-columns: 1fr 1fr
    }

    .footer-logo {
        grid-column: 2;
        text-align: right
    }

    .copyright {
        bottom: 12px
    }
}

@media(max-width:575px) {
    .site-container {
        padding-left: 18px;
        padding-right: 18px
    }

    .section-pad {
        padding-top: 55px;
        padding-bottom: 55px
    }

    .hero {
        min-height: 620px;
        height: 100svh
    }

    .hero-copy {
        top: 23%;
        left: 18px
    }

    .hero h1 {
        font-size: 42px;
        letter-spacing: -2.5px
    }

    .hero-side-label {
        left: 18px;
        top: 13%;
        font-size: 8px
    }

    .hero-caption {
        left: 18px;
        bottom: 70px;
        font-size: 9px
    }

    .hero-dots {
        left: 18px;
        right: auto
    }

    .management h2 {
        margin-bottom: 36px;
        font-size: 51px
    }

    .intro-text {
        font-size: 11px
    }

    .brands {
        margin-top: 32px
    }

    .service-tabs button {
        font-size: 20px
    }

    .service-content img {
        height: 205px
    }

    .numbers-content {
        padding-left: 18px;
        padding-right: 18px;
        grid-template-columns: 1fr 1fr
    }

    .stat strong {
        font-size: 43px
    }

    .partner-row {
        left: 18px;
        right: 18px;
        font-size: 10px
    }

    .statement {
        min-height: 480px
    }

    .statement h2 {
        font-size: 28px;
        letter-spacing: -1.4px
    }

    .statement h2 br {
        display: none
    }

    .floating-icon {
        width: 38px;
        height: 38px;
        font-size: 18px
    }

    .floating-icon.four {
        right: 2%
    }

    .project-card {
        margin-bottom: 16px
    }

    .project-card img {
        height: 190px
    }

    .carousel-control-next,
    .carousel-control-prev {
        top: 80px
    }

    .footer {
        min-height: 650px
    }

    .footer-content {
        min-height: 650px
    }

    .footer-cta {
        padding-top: 95px
    }

    .footer-bottom {
        left: 18px;
        right: 18px;
        bottom: 43px;
        gap: 16px
    }

    .footer-logo {
        font-size: 26px
    }

    .copyright {
        right: 18px
    }

    .footer h2 {
        font-size: 39px
    }

    .footer-glow {
        width: 130vw;
        height: 130vw;
        top: -45vw;
        left: -46vw
    }
}

.main-nav {
    position: absolute;
    left: 50%;
    gap: 28px;
    transform: translateX(-50%)
}

.main-nav a {
    white-space: nowrap
}

@media(max-width:991px) {
    .main-nav {
        left: 0;
        right: 0;
        transform: none
    }
}

@media(min-width:992px) {
    .main-nav {
        display: flex !important
    }
}

/* Druhé kolo jemného doladění podle návrhu */
body {
    font-size: 18px
}

.main-nav {
    margin: 0 !important;
    gap: 34px
}

.main-nav a {
    font-size: 16px;
    font-weight: 500
}

.button {
    font-size: 15px
}

.button-dot i {
    transition: transform .25s ease
}

.button:hover .button-dot i {
    transform: translateX(5px)
}

.hero-lines {
    position: absolute;
    inset: 58px 0 0;
    z-index: -1;
    pointer-events: none;
    border-top: 1px solid rgba(255, 255, 255, .24);
    border-bottom: 1px solid rgba(255, 255, 255, .28)
}

.hero-lines span {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, .2)
}

.hero-lines span:nth-child(1) {
    left: 25%
}

.hero-lines span:nth-child(2) {
    left: 50%
}

.hero-lines span:nth-child(3) {
    left: 75%
}

.hero-side-label {
    font-size: 13px;
    line-height: 1.35
}

.hero-caption {
    font-size: 15px;
    line-height: 1.35
}

.intro-text {
    font-size: 16px;
    line-height: 1.35
}

.intro-text p {
    margin-bottom: 20px
}

.brands small {
    font-size: 13px
}

.service-content p {
    width: 100%;
    max-width: none;
    font-size: 16px;
    line-height: 1.35
}

.service-tabs button {
    font-size: 30px
}

.stat span {
    font-size: 14px
}

.footer-cta p,
.footer-bottom p {
    font-size: 14px;
    line-height: 1.5
}

.footer-bottom small {
    font-size: 11px
}

.partner-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: initial;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .25)
}

.partner-row span {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    border-left: 1px solid rgba(255, 255, 255, .25);
    font-size: 17px;
    line-height: 1.1;
    text-align: center
}

.partner-row span:last-child {
    border-right: 1px solid rgba(255, 255, 255, .25)
}

.reference-marquee {
    margin-bottom: 43px;
    overflow: hidden;
    border-block: 1px solid #e7e7e7;
    padding: 17px 0
}

.reference-track {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 28px;
    animation: referenceLoop 22s linear infinite
}

.reference-track span {
    color: #6c6c6c;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
    white-space: nowrap
}

.reference-track i {
    display: block;
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    background: var(--green)
}

.project-card p {
    font-size: 15px;
    line-height: 1.38
}

.project-card h3 {
    font-size: 22px
}

.carousel-control-next,
.carousel-control-prev {
    top: 100px
}

@keyframes referenceLoop {
    to {
        transform: translateX(-50%)
    }
}

@media (prefers-reduced-motion:reduce) {
    .reference-track {
        animation-play-state: paused
    }

    .button-dot i {
        transition: none
    }
}

@media(max-width:991px) {
    .main-nav {
        margin: 0 !important
    }

    .main-nav a {
        font-size: 18px
    }

    .hero-lines span:nth-child(2) {
        display: none
    }

    .service-tabs button {
        font-size: 26px
    }

    .intro-text {
        font-size: 16px
    }

    .partner-row span {
        font-size: 13px;
        padding: 0 10px
    }
}

@media(max-width:575px) {
    body {
        font-size: 16px
    }

    .hero-lines span {
        display: none
    }

    .hero-lines span:first-child {
        display: block;
        left: 18px
    }

    .hero-side-label {
        font-size: 10px
    }

    .hero-caption {
        font-size: 12px
    }

    .intro-text {
        font-size: 15px
    }

    .service-content p,
    .project-card p {
        font-size: 15px
    }

    .service-tabs button {
        font-size: 22px
    }

    .reference-marquee {
        margin-bottom: 28px
    }

    .reference-track {
        gap: 18px;
        animation-duration: 60s
    }

    .reference-track span {
        font-size: 11px
    }

    .reference-track i {
        flex-basis: 6px;
        width: 6px;
        height: 6px
    }

    .partner-row span {
        font-size: 9px;
        padding: 0 4px
    }

    .footer-cta p,
    .footer-bottom p {
        font-size: 12px
    }

    .footer-bottom small {
        font-size: 9px
    }
}

/* Typografie a chování prvků z finálního návrhu */
@media(min-width:992px) {
    .main-nav {
        top: 50%;
        transform: translate(-50%, -50%)
    }
}

.main-nav a,
.button {
    font-size: 16px;
    font-weight: 500
}

.hero-side-label,
.reference-track {
    font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0
}

.button-dot {
    transition: transform .25s ease
}

.button:hover .button-dot {
    transform: translateX(5px)
}

.button:hover .button-dot i {
    transform: none
}

.brands b {
    position: relative;
    padding: 6px;
    overflow: hidden
}

.brands b img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain
}

.brands b.logo-missing::after {
    content: attr(data-label);
    font-family: Inter, Arial, sans-serif;
    font-size: 13px;
    font-weight: 700
}

.brands b.logo-missing img {
    display: none
}

.reference-track {
    gap: 0;
    animation-duration: 60s
}

.reference-sequence {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-right: 28px
}

.reference-track span {
    font-size: 14px;
    font-weight: 400
}

.project-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover
}

@media(max-width:991px) {
    .main-nav {
        top: 58px;
        transform: none
    }

    .main-nav a {
        font-weight: 500
    }

    .hero-side-label {
        font-size: 14px
    }

    .reference-sequence {
        gap: 20px;
        padding-right: 20px
    }
}

@media(max-width:575px) {

    .main-nav a,
    .button {
        font-size: 16px
    }

    .hero-side-label {
        font-size: 12px
    }

    .reference-track,
    .reference-track span {
        font-size: 12px
    }

    .reference-sequence {
        gap: 18px;
        padding-right: 18px
    }

    .project-card img {
        aspect-ratio: 4/3
    }
}

/* Dolaďení zarovnání a nekonečného pásu */
.site-header .site-container {
    height: 100%
}

.main-nav a,
.button {
    font-size: 14px
}

.reference-marquee {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw)
}

.reference-sequence {
    padding-right: 0
}

.carousel-control-next,
.carousel-control-prev {
    top: 50%;
    transform: translateY(-50%)
}

.service-tabs {
    align-self: stretch
}

.partner-row span img {
    display: block;
    max-width: 72%;
    max-height: 43px;
    width: auto;
    height: auto;
    object-fit: contain
}

@media(min-width:992px) {
    .service-tabs {
        display: flex !important;
        height: auto;
        justify-content: space-between;
        gap: 0;
        padding-bottom: 38px
    }

    .service-tabs button {
        margin: 0
    }
}

@media(max-width:575px) {

    .main-nav a,
    .button {
        font-size: 14px
    }

    .reference-marquee {
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw)
    }

    .carousel-control-next,
    .carousel-control-prev {
        top: 50%
    }
}

/* Scroll hlavička, marquee a navigace */
.site-header.is-scrolled {
    background: rgba(15, 15, 15, .99);
    border-bottom-color: rgba(255, 255, 255, .16);
    box-shadow: 0 4px 18px rgba(0, 0, 0, .18)
}

.main-nav a {
    position: relative;
    transition: color .25s ease
}

.main-nav a::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--green);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .25s ease
}

.main-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left
}

.footer-bottom small {
    font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0
}

.reference-sequence {
    width: 100vw;
    min-width: 100vw;
    justify-content: space-between;
    gap: 0
}

.carousel-control-next,
.carousel-control-prev {
    top: clamp(120px, 12vw, 180px);
    transform: translateY(-50%)
}

@media(max-width:575px) {
    .footer-bottom small {
        font-size: 12px
    }

    .reference-sequence {
        width: 100vw;
        min-width: 100vw
    }

    .carousel-control-next,
    .carousel-control-prev {
        top: clamp(100px, 34vw, 160px)
    }
}

/* Finální rozvržení sekcí */
.hero {
    height: 100vh;
    height: 100svh;
    min-height: 620px
}

.main-nav a::after {
    display: none
}

.references {
    border-top: 1px solid var(--grey)
}

.reference-marquee {
    border-block: 0
}

.footer .footer-content {
    max-width: none
}

.footer-bottom {
    border-top: 0
}

.footer-bottom::before {
    position: absolute;
    top: 0;
    right: calc((100% - 100vw)/2);
    left: calc((100% - 100vw)/2);
    height: 1px;
    content: "";
    background: rgba(255, 255, 255, .2)
}

/* Šířka hlavičky a jemné zarovnání hero */
.site-header .site-container {
    max-width: none
}

.reference-sequence {
    padding-left: 24px
}

.carousel-control-next,
.carousel-control-prev {
    width: 26px;
    height: 26px;
    font-size: 13px
}

.hero-copy,
.hero-side-label {
    top: 22%
}

@media(max-width:575px) {

    .hero-copy,
    .hero-side-label {
        top: 23%
    }

    .reference-sequence {
        padding-left: 18px
    }
}

/* Plynulá nekonečná marquee a atmosféra footeru */
.reference-sequence {
    display: flex;
    width: max-content;
    min-width: max-content;
    justify-content: flex-start;
    gap: 42px;
    padding: 0 42px 0 0
}

.reference-track {
    animation-duration: 100s
}

.footer {
    background: #01050a
}

.footer-glow {
    position: absolute;
    width: 80vw;
    height: 80vw;
    top: -30vw;
    left: -12vw;
    z-index: -1;
    box-shadow: rgba(0, 180, 102, 0.18) 0px 0px 80px 20px, rgba(0, 180, 102, 0.12) 0px 0px 40px inset;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(32, 206, 136, 0.5);
    border-image: none;
    border-radius: 50%;
    animation: 8s ease-in-out 0s infinite normal none running glowPulse;
}

.footer-glow::before {
    position: absolute;
    inset: -7px;
    border: 2px solid rgba(32, 206, 136, .2);
    border-radius: inherit;
    content: "";
    filter: blur(10px)
}

@keyframes footerArc {
    to {
        transform: scale(1.035) translate(1.4%, 1.2%);
        filter: brightness(1.18)
    }
}

@media(max-width:575px) {
    .reference-sequence {
        gap: 24px;
        padding-right: 24px
    }

    .reference-track {
        animation-duration: 28s
    }

    .footer-glow {
        width: 180vw;
        height: 180vw;
        top: -112vw;
        left: -54vw
    }
}

@media (max-width: 575px) {

    .hero-content{
        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:flex-start;
        height:100%;
        padding-top:120px;
        padding-bottom:80px;
    }

    .hero-side-label,
    .hero-copy,
    .hero-caption,
    .hero-dots{
        position:static;
    }

    .hero-side-label{
        margin-bottom:24px;
        font-size:12px;
        line-height:1.5;
        text-transform:uppercase;
    }

    .hero-copy{
        margin-bottom:24px;
    }

    .hero-caption{
        margin-bottom:30px;
    }

    .hero-dots{
        margin-top:auto;
    }

    .hero h1 br{
        display:block;
    }
}

@media (max-width: 767px){

    .carousel-item .col-md-4{
        display:none;
    }

    .carousel-item .col-md-4:first-child{
        display:block;
        width:100%;
    }

    .carousel-control-prev,
    .carousel-control-next{
        top:42%;
    }

}

@media (max-width:991px){

    .mobile-nav-footer{
        width:100%;
        margin-top:24px;
        z-index: 1;
    }

.mobile-nav-footer .button{
    width: 100%;
    justify-content: center;
    align-items: center;
}

}

@media (max-width:991px){

    .mobile-nav-footer .button{
        color: var(--black) !important;
    }

    .mobile-nav-footer .button:hover{
        color: var(--black) !important;
    }

}

/* Plynulý pohyb každého hero snímku, včetně prvního aktivního po načtení */
.hero-slide {
    will-change: opacity, transform;
}

.hero-slide.active {
    animation: heroSlideMotion 7.2s linear both;
}

@keyframes heroSlideMotion {
    0% {
        transform: scale(1.02) translate3d(0, 0, 0);
    }

    100% {
        transform: scale(1.1) translate3d(-1.5%, -1%, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide.active {
        animation: none;
        transform: scale(1.04);
    }
}

/* Vyšší hlavička: +10 px prostoru nahoře i dole */
.site-header {
    height: 78px;
    border-bottom: 0;
}

.hero-lines {
    inset: 78px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .24);
}

@media (max-width: 991px) {
    .main-nav {
        top: 78px;
    }
}

/* Šipky referencí zůstávají viditelné i při hoveru a focusu */
.carousel-control-prev:hover,
.carousel-control-prev:focus,
.carousel-control-next:hover,
.carousel-control-next:focus {
    color: var(--black);
    background: #fff;
    opacity: 1;
}

.carousel-control-prev i,
.carousel-control-next i {
    color: inherit;
    pointer-events: none;
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    font-size: 18px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.carousel-control-prev:hover,
.carousel-control-prev:focus {
    transform: translate(-5px, -50%);
    box-shadow: 0 5px 16px rgba(0, 0, 0, .25);
}

.carousel-control-next:hover,
.carousel-control-next:focus {
    transform: translate(5px, -50%);
    box-shadow: 0 5px 16px rgba(0, 0, 0, .25);
}

/* Dvojnásobné mezery v běžícím pásu */
.reference-sequence {
    gap: 84px;
    padding-right: 84px;
}

@media (max-width: 575px) {
    .reference-sequence {
        gap: 48px;
        padding-right: 48px;
    }
}

/* Animovaný hamburger / křížek mobilní navigace */
.menu-toggle {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 7px;
}

.menu-icon {
    position: relative;
    display: block;
    width: 27px;
    height: 20px;
}

.menu-icon span {
    position: absolute;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transform-origin: center;
    transition: top .28s ease, transform .28s ease, opacity .2s ease;
}

.menu-icon span:nth-child(1) {
    top: 1px;
}

.menu-icon span:nth-child(2) {
    top: 9px;
}

.menu-icon span:nth-child(3) {
    top: 17px;
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(3) {
    top: 9px;
    transform: rotate(-45deg);
}

/* Mobilní menu se vždy vejde pod header, včetně nízkých displejů */
@media (max-width: 991px) {
    .main-nav {
        top: 78px;
        bottom: 0;
        height: calc(100dvh - 78px);
        min-height: 0;
        padding: 28px 24px calc(24px + env(safe-area-inset-bottom));
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .main-nav > * {
        position: relative;
        z-index: 1;
    }

    .mobile-nav-footer {
        flex: 0 0 auto;
        margin-top: auto;
        padding-top: 22px;
    }
}

@media (max-width: 991px) and (max-height: 700px) {
    .main-nav {
        padding-top: 18px;
        padding-bottom: calc(18px + env(safe-area-inset-bottom));
    }

    .main-nav > a {
        padding: 12px 0;
        font-size: 23px;
    }

    .mobile-nav-footer {
        padding-top: 14px;
    }
}

@media (max-width: 991px) {
    .main-nav > a {
        font-size: 18px;
    }

    .main-nav::after {
        height: 100%;
    }
}

/* Loga výrobců jsou pouze SVG obrázky */
.brand-logos span {
    display: grid;
    place-items: center;
    min-height: 54px;
    padding: 10px 14px;
    background: #f6f6f6;
    font-size: 0;
}

.brand-logos img {
    display: block;
    width: 100%;
    max-width: 130px;
    height: 30px;
    object-fit: contain;
}

.hero h1 {
    line-height: 1.02;
}

@media (min-width: 992px) {
    .hero h1 {
        font-size: 70px;
    }
}

.copyright {
    font-size: 11px;
}

.service-content .button-dark {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
}

#referenceCarousel .carousel-control-prev,
#referenceCarousel .carousel-control-next {
    top: var(--reference-control-top, 50%);
}

/* Desktop: tři viditelné reference, posun vždy přesně o jednu kartu */
@media (min-width: 768px) {
    #referenceCarousel.reference-single-step .carousel-inner {
        overflow: hidden;
    }

    #referenceCarousel .reference-card-track {
        display: flex;
        gap: 24px;
        width: 100%;
        will-change: transform;
    }

    #referenceCarousel .reference-card-slide {
        flex: 0 0 calc((100% - 48px) / 3);
        min-width: 0;
    }
}

@media (min-width: 992px) {
    .grid-points {
        width: 560px;
        height: 400px;
        background-size: 14px 14px;
    }
}

/* Mobil: jedna celá reference + náhled následující, ovládání swipem */
@media (max-width: 767px) {
    #referenceCarousel {
        width: 100%;
        overflow: visible;
    }

    #referenceCarousel .carousel-inner {
        display: flex;
        width: 100%;
        gap: 16px;
        padding-bottom: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
    }

    #referenceCarousel .carousel-inner::-webkit-scrollbar {
        display: none;
    }

    #referenceCarousel .carousel-item {
        display: block !important;
        flex: 0 0 auto;
        float: none;
        width: auto;
        margin: 0 !important;
        transform: none !important;
        transition: none !important;
    }

    #referenceCarousel .carousel-item .row {
        display: flex;
        flex-wrap: nowrap;
        width: max-content;
        margin: 0;
        gap: 16px;
    }

    #referenceCarousel .carousel-item .col-md-4,
    #referenceCarousel .carousel-item .col-md-4:first-child {
        display: block !important;
        flex: 0 0 calc(100vw - 82px);
        width: calc(100vw - 82px);
        padding: 0;
        scroll-snap-align: start;
    }

    #referenceCarousel .carousel-control-prev,
    #referenceCarousel .carousel-control-next {
        display: none;
    }
}

/* Jednotný formát obrázků v záložkách Co řídíme */
.service-content img {
    height: auto;
    aspect-ratio: 4 / 3;
}

@media (max-width: 575px) {
    .service-content img {
        height: auto;
    }
}

/* Služby — tmavý technologický blok */
.services-showcase {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: 120px;
    color: #fff;
    background: var(--black);
}

.services-showcase::before {
    position: absolute;
    inset: 0;
    z-index: -3;
    content: "";
    background:
        radial-gradient(circle at 12% 8%, rgba(32, 206, 136, .16), transparent 28%),
        radial-gradient(circle at 88% 92%, rgba(32, 206, 136, .1), transparent 30%),
        linear-gradient(135deg, #171717 0%, #0e1512 48%, #1c1c1c 100%);
}

.services-tech-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    background-image:
        linear-gradient(rgba(32, 206, 136, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(32, 206, 136, .055) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.services-tech-bg span {
    position: absolute;
    width: 380px;
    height: 380px;
    border: 1px solid rgba(32, 206, 136, .16);
    border-radius: 50%;
    animation: servicesOrbit 18s linear infinite;
}

.services-tech-bg span:nth-child(1) {
    top: -210px;
    right: 9%;
}

.services-tech-bg span:nth-child(2) {
    bottom: -280px;
    left: 5%;
    width: 520px;
    height: 520px;
    animation-direction: reverse;
    animation-duration: 24s;
}

.services-tech-bg span:nth-child(3) {
    top: 42%;
    left: 58%;
    width: 12px;
    height: 12px;
    border: 0;
    background: var(--green);
    box-shadow: 0 0 22px 6px rgba(32, 206, 136, .38);
    animation: servicesNode 5s ease-in-out infinite;
}

.services-scan {
    position: absolute;
    top: -180px;
    right: 0;
    left: 0;
    z-index: -1;
    height: 180px;
    pointer-events: none;
    background: linear-gradient(to bottom, transparent, rgba(32, 206, 136, .055), rgba(32, 206, 136, .22));
    border-bottom: 1px solid rgba(32, 206, 136, .34);
    animation: servicesScan 10s linear infinite;
}

.services-inner {
    position: relative;
}

.services-heading {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    align-items: end;
    gap: 60px;
    margin-bottom: 70px;
}

.services-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    color: var(--green);
    font-family: "Geist Mono", ui-monospace, monospace;
    font-size: 14px;
    letter-spacing: .08em;
}

.services-kicker::before {
    width: 8px;
    height: 8px;
    content: "";
    background: var(--green);
}

.services-heading h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(52px, 6vw, 86px);
    font-weight: 600;
    line-height: .94;
    letter-spacing: -.055em;
}

.services-heading p {
    max-width: 480px;
    margin: 0 0 6px;
    color: rgba(255, 255, 255, .66);
    font-size: 16px;
    line-height: 1.55;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.service-card {
    position: relative;
    min-height: 300px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid rgba(32, 206, 136, .58);
    background: rgba(7, 13, 11, .52);
    transition: transform .32s ease, border-color .32s ease, background .32s ease, box-shadow .32s ease;
}

.service-card::before {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(135deg, rgba(32, 206, 136, .13), transparent 48%);
    opacity: 0;
    transform: translate(-25%, -25%);
    transition: opacity .32s ease, transform .45s ease;
}

.service-card::after {
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 46px;
    height: 46px;
    content: "";
    border-right: 2px solid var(--green);
    border-bottom: 2px solid var(--green);
}

.service-card:hover {
    z-index: 2;
    border-color: var(--green);
    background: rgba(10, 24, 18, .82);
    box-shadow: 0 20px 55px rgba(0, 0, 0, .32), 0 0 28px rgba(32, 206, 136, .1);
    transform: translateY(-7px);
}

.service-card:hover::before {
    opacity: 1;
    transform: translate(0, 0);
}

.service-number {
    position: absolute;
    top: 24px;
    right: 26px;
    color: rgba(255, 255, 255, .32);
    font-family: "Geist Mono", ui-monospace, monospace;
    font-size: 12px;
}

.service-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin-bottom: 58px;
    border: 1px solid rgba(32, 206, 136, .72);
    color: var(--green);
    font-size: 36px;
    transition: color .3s ease, background .3s ease, transform .3s ease;
}

.service-card:hover .service-icon {
    color: var(--black);
    background: var(--green);
    transform: scale(1.04);
}

.service-card h3 {
    position: relative;
    max-width: 360px;
    margin: 0;
    color: #fff;
    font-size: clamp(20px, 1.65vw, 27px);
    font-weight: 500;
    line-height: 1.16;
    letter-spacing: -.035em;
}

.services-cta {
    display: flex;
    justify-content: center;
    margin-top: 54px;
}

@keyframes servicesOrbit {
    to { transform: rotate(360deg); }
}

@keyframes servicesNode {
    50% { opacity: .35; transform: translate3d(90px, -45px, 0) scale(.7); }
}

@keyframes servicesScan {
    to { transform: translateY(calc(100% + 1050px)); }
}

@media (max-width: 991px) {
    .services-showcase {
        padding-top: 90px;
        padding-bottom: 90px;
    }

    .services-heading {
        grid-template-columns: 1fr;
        gap: 26px;
        margin-bottom: 52px;
    }

    .services-heading h2 br {
        display: none;
    }

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

@media (max-width: 575px) {
    .services-showcase {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .services-heading {
        margin-bottom: 38px;
    }

    .services-heading h2 {
        font-size: 47px;
    }

    .services-heading p {
        font-size: 15px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .service-card {
        min-height: 245px;
        padding: 24px;
    }

    .service-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 42px;
        font-size: 30px;
    }

    .service-card h3 {
        font-size: 22px;
    }

    .services-cta {
        justify-content: stretch;
        margin-top: 34px;
    }

    .services-cta .button {
        width: 100%;
        justify-content: space-between;
    }
}

@media (prefers-reduced-motion: reduce) {
    .services-tech-bg span,
    .services-scan {
        animation: none;
    }
}

/* Další pohyblivé body v pozadí služeb */
.services-tech-bg span:nth-child(n+3) {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 20px 5px rgba(32, 206, 136, .34);
}

.services-tech-bg span:nth-child(4) {
    top: 20%;
    left: 14%;
    animation: servicesNodeTwo 8s ease-in-out infinite alternate;
}

.services-tech-bg span:nth-child(5) {
    right: 11%;
    bottom: 24%;
    animation: servicesNodeThree 10s ease-in-out infinite alternate;
}

.services-tech-bg span:nth-child(6) {
    top: 67%;
    left: 37%;
    width: 7px;
    height: 7px;
    animation: servicesNodeFour 7s ease-in-out infinite alternate;
}

@keyframes servicesNodeTwo {
    to { opacity: .35; transform: translate3d(120px, 70px, 0) scale(.7); }
}

@keyframes servicesNodeThree {
    to { opacity: .45; transform: translate3d(-100px, -85px, 0) scale(1.25); }
}

@keyframes servicesNodeFour {
    to { opacity: .3; transform: translate3d(65px, -110px, 0) scale(.65); }
}

@media (prefers-reduced-motion: reduce) {
    .services-tech-bg span:nth-child(n+3) {
        animation: none;
    }
}

.service-card::after {
    display: none;
}

.services-tech-bg span:nth-child(-n+2) {
    display: none;
}

.service-card {
    border-color: rgba(32, 206, 136, .28);
}

.service-card:hover {
    border-color: rgba(32, 206, 136, .58);
}

.services-tech-bg {
    background-image: none;
}

/* Delší obsah karet služeb */
.service-card {
    display: flex;
    min-height: 390px;
    flex-direction: column;
}

.service-card .service-icon {
    flex: 0 0 auto;
    margin-bottom: 38px;
}

.service-card h3 {
    margin-bottom: 18px;
}

.service-card p {
    position: relative;
    max-width: 420px;
    margin: 0;
    color: rgba(255, 255, 255, .62);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.52;
}

/* Stránka O nás */
.about-page {
    background: #fff;
}

.main-nav a[aria-current="page"] {
    color: var(--green);
}

.about-hero {
    position: relative;
    isolation: isolate;
    min-height: 760px;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    color: #fff;
    background: #07110e;
}

.about-hero-image,
.about-hero-shade {
    position: absolute;
    inset: 0;
}

.about-hero-image {
    z-index: -3;
    background: url('../img/hero-1.webp') center/cover no-repeat;
    animation: aboutHeroDrift 16s ease-in-out infinite alternate;
}

.about-hero-shade {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(2, 10, 7, .9) 0%, rgba(2, 11, 8, .66) 46%, rgba(3, 12, 9, .26) 100%),
        linear-gradient(0deg, rgba(1, 9, 6, .72), transparent 58%);
}

.about-hero-grid {
    position: absolute;
    inset: 78px 0 0;
    z-index: -1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255, 255, 255, .24);
    pointer-events: none;
}

.about-hero-grid span {
    border-left: 1px solid rgba(255, 255, 255, .13);
}

.about-hero-content {
    position: relative;
    height: 100%;
    padding-top: 78px;
}

.about-kicker,
.about-label {
    margin: 0;
    color: inherit;
    font-family: "Geist Mono", ui-monospace, monospace;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.about-kicker {
    position: absolute;
    top: 19%;
    left: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255, 255, 255, .65);
}

.about-kicker i {
    width: 5px;
    height: 5px;
    background: var(--green);
}

.about-hero h1 {
    position: absolute;
    top: 30%;
    left: 12.5%;
    max-width: 1220px;
    margin: 0;
    font-size: 70px;
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -3px;
}

.about-hero-lead {
    position: absolute;
    right: 28px;
    bottom: 7.5%;
    width: min(420px, 32vw);
}

.about-hero-lead p {
    margin: 0 0 26px;
    color: rgba(255, 255, 255, .82);
    font-size: 18px;
    line-height: 1.5;
}

.about-story {
    padding-top: 132px;
    padding-bottom: 126px;
}

.about-section-head {
    display: grid;
    grid-template-columns: 25% 1fr;
    align-items: start;
    margin-bottom: 92px;
}

.about-section-head .about-label,
.about-values-heading .about-label,
.about-system-intro .about-label {
    padding-top: 9px;
    color: #777;
}

.about-section-head h2,
.about-system h2,
.about-values h2 {
    margin: 0;
    font-size: clamp(48px, 6vw, 95px);
    font-weight: 500;
    line-height: .94;
    letter-spacing: -.065em;
}

.about-story-layout {
    display: grid;
    grid-template-columns: 25% 1fr;
    border-top: 1px solid var(--grey);
    padding-top: 38px;
}

.about-story-aside {
    padding-right: 55px;
}

.about-story-year {
    display: block;
    margin-bottom: 14px;
    color: var(--green);
    font-family: "Geist Mono", ui-monospace, monospace;
    font-size: 14px;
}

.about-story-aside p {
    max-width: 170px;
    margin: 0;
    color: #777;
    font-size: 14px;
    line-height: 1.5;
}

.about-story-copy {
    display: grid;
    gap: 58px;
}

.about-story-lead {
    max-width: 1060px;
    margin: 0;
    font-size: clamp(28px, 3.1vw, 49px);
    font-weight: 500;
    line-height: 1.13;
    letter-spacing: -.045em;
}

.about-story-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9%;
    max-width: 1060px;
}

.about-story-columns p {
    margin: 0;
    color: #545454;
    font-size: 17px;
    line-height: 1.65;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 118px;
    border-top: 1px solid var(--grey);
    border-bottom: 1px solid var(--grey);
}

.about-stats article {
    display: flex;
    min-height: 210px;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px 28px 26px;
    border-left: 1px solid var(--grey);
}

.about-stats article:first-child {
    border-left: 0;
}

.about-stats strong {
    font-size: clamp(48px, 5vw, 82px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.06em;
}

.about-stats span {
    color: #666;
    font-family: "Geist Mono", ui-monospace, monospace;
    font-size: 13px;
    line-height: 1.35;
    text-transform: uppercase;
}

.about-system {
    --about-square: calc(100vw / 24);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 18% 42%, rgba(32, 206, 136, .075), transparent 30%),
        radial-gradient(circle at 82% 68%, rgba(32, 206, 136, .045), transparent 25%),
        #08110e;
}

.about-system::before {
    position: absolute;
    inset: 0;
    z-index: -2;
    content: "";
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, .072) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, .072) 1px, transparent 1px);
    background-size: var(--about-square) var(--about-square);
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
}

.about-system-points {
    position: absolute;
    inset: 0;
    z-index: -1;
    display: grid;
    grid-template-columns: repeat(24, 1fr);
    grid-auto-rows: var(--about-square);
    pointer-events: none;
}

.about-system-points i {
    align-self: stretch;
    justify-self: stretch;
    border: 1px solid rgba(32, 206, 136, .68);
    background: rgba(32, 206, 136, .12);
    box-shadow: inset 0 0 28px rgba(32, 206, 136, .17), 0 0 24px rgba(32, 206, 136, .12);
    opacity: 0;
    animation: aboutSquarePulse 12s ease-in-out infinite;
}

.about-system-points i:nth-child(1) { grid-column: 2; grid-row: 2; animation-delay: -1s; }
.about-system-points i:nth-child(2) { grid-column: 3; grid-row: 2; animation-delay: -1.25s; }
.about-system-points i:nth-child(3) { grid-column: 13; grid-row: 4; animation-delay: -4.5s; }
.about-system-points i:nth-child(4) { grid-column: 13; grid-row: 5; animation-delay: -4.75s; }
.about-system-points i:nth-child(5) { grid-column: 21; grid-row: 2; animation-delay: -8s; }
.about-system-points i:nth-child(6) { grid-column: 22; grid-row: 2; animation-delay: -8.25s; }
.about-system-points i:nth-child(7) { grid-column: 7; grid-row: 9; animation-delay: -6.2s; }
.about-system-points i:nth-child(8) { grid-column: 8; grid-row: 9; animation-delay: -6.45s; }
.about-system-points i:nth-child(9) { grid-column: 18; grid-row: 11; animation-delay: -10s; }
.about-system-points i:nth-child(10) { grid-column: 19; grid-row: 11; animation-delay: -10.25s; }

.about-system-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(560px, 1.15fr);
    gap: 9%;
    padding-top: 80px;
    padding-bottom: 80px;
}

.about-system-intro {
    position: sticky;
    top: 130px;
    align-self: start;
}

.about-system-intro .about-label {
    color: var(--green);
}

.about-system h2 {
    margin-top: 42px;
    font-size: clamp(48px, 5.4vw, 84px);
}

.about-system-intro > p:last-child {
    max-width: 490px;
    margin: 42px 0 0;
    color: rgba(255, 255, 255, .62);
    font-size: 18px;
    line-height: 1.65;
}

.about-process {
    border-top: 1px solid rgba(255, 255, 255, .24);
}

.about-process article {
    display: grid;
    grid-template-columns: 45px 82px 1fr;
    gap: 24px;
    align-items: start;
    min-height: 190px;
    padding: 34px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .24);
}

.about-process article > span {
    color: rgba(255, 255, 255, .44);
    font-family: "Geist Mono", ui-monospace, monospace;
    font-size: 12px;
}

.about-process article > i {
    color: var(--green);
    font-size: 44px;
    line-height: 1;
}

.about-process h3 {
    margin: 0 0 13px;
    font-size: clamp(25px, 2.1vw, 36px);
    font-weight: 500;
    letter-spacing: -.045em;
}

.about-process p {
    max-width: 490px;
    margin: 0;
    color: rgba(255, 255, 255, .58);
    font-size: 16px;
    line-height: 1.55;
}

.about-timeline {
    padding-top: 132px;
    padding-bottom: 132px;
}

.about-section-head-row {
    grid-template-columns: 1fr minmax(300px, 32%);
    gap: 80px;
    align-items: end;
}

.about-section-head-row .about-label {
    margin-bottom: 34px;
}

.about-section-head-row > p {
    max-width: 490px;
    margin: 0 0 7px;
    color: #666;
    font-size: 17px;
    line-height: 1.62;
}

.timeline-list {
    border-top: 1px solid var(--grey);
}

.timeline-list article {
    display: grid;
    grid-template-columns: 18% 8% 1fr;
    min-height: 190px;
    align-items: center;
    border-bottom: 1px solid var(--grey);
    transition: background .3s ease, padding .3s ease;
}

.timeline-list article:hover {
    padding-right: 24px;
    padding-left: 24px;
    background: #f5f8f7;
}

.timeline-list time {
    font-family: "Geist Mono", ui-monospace, monospace;
    font-size: 14px;
}

.timeline-list article > span {
    width: 9px;
    height: 9px;
    background: var(--green);
    box-shadow: 0 0 0 7px rgba(32, 206, 136, .12);
}

.timeline-list h3 {
    margin: 0 0 10px;
    font-size: clamp(25px, 2.4vw, 38px);
    font-weight: 500;
    letter-spacing: -.04em;
}

.timeline-list p {
    max-width: 700px;
    margin: 0;
    color: #666;
    font-size: 16px;
    line-height: 1.55;
}

.about-values {
    padding-top: 128px;
    padding-bottom: 128px;
    color: #fff;
    background: var(--black);
}

.about-values-heading {
    display: grid;
    grid-template-columns: 25% 1fr;
    margin-bottom: 84px;
}

.about-values-heading .about-label {
    color: rgba(255, 255, 255, .46);
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255, 255, 255, .22);
    border-bottom: 1px solid rgba(255, 255, 255, .22);
}

.about-values-grid article {
    position: relative;
    display: flex;
    min-height: 390px;
    flex-direction: column;
    padding: 28px;
    border-left: 1px solid rgba(255, 255, 255, .22);
    overflow: hidden;
    transition: background .3s ease;
}

.about-values-grid article:first-child {
    border-left: 0;
}

.about-values-grid article:hover {
    background: rgba(32, 206, 136, .08);
}

.about-values-grid article > span {
    color: rgba(255, 255, 255, .38);
    font-family: "Geist Mono", ui-monospace, monospace;
    font-size: 12px;
}

.about-values-grid article > i {
    margin-top: 65px;
    color: var(--green);
    font-size: 42px;
}

.about-values-grid h3 {
    margin: auto 0 14px;
    font-size: 29px;
    font-weight: 500;
    letter-spacing: -.04em;
}

.about-values-grid p {
    margin: 0;
    color: rgba(255, 255, 255, .58);
    font-size: 15px;
    line-height: 1.55;
}

.about-footer {
    border-top: 1px solid rgba(255, 255, 255, .18);
}

@keyframes aboutHeroDrift {
    to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

@keyframes aboutSquarePulse {
    0%, 13%, 58%, 100% {
        opacity: 0;
        filter: brightness(.75);
    }
    24%, 42% {
        opacity: .72;
        filter: brightness(1.35);
    }
}

@media (max-width: 991px) {
    .about-system {
        --about-square: calc(100vw / 12);
    }

    .about-system-points {
        grid-template-columns: repeat(12, 1fr);
    }

    .about-system-points i:nth-child(1) { grid-column: 2; grid-row: 2; }
    .about-system-points i:nth-child(2) { grid-column: 3; grid-row: 2; }
    .about-system-points i:nth-child(3) { grid-column: 9; grid-row: 5; }
    .about-system-points i:nth-child(4) { grid-column: 9; grid-row: 6; }
    .about-system-points i:nth-child(5) { grid-column: 5; grid-row: 10; }
    .about-system-points i:nth-child(6) { grid-column: 6; grid-row: 10; }
    .about-system-points i:nth-child(7) { grid-column: 10; grid-row: 14; }
    .about-system-points i:nth-child(8) { grid-column: 11; grid-row: 14; }
    .about-system-points i:nth-child(9) { grid-column: 2; grid-row: 17; }
    .about-system-points i:nth-child(10) { grid-column: 3; grid-row: 17; }

    .about-hero {
        min-height: 680px;
    }

    .about-hero-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-hero-grid span:nth-child(n+3) {
        display: none;
    }

    .about-hero h1 {
        left: 28px;
        font-size: clamp(54px, 8vw, 70px);
    }

    .about-hero-lead {
        width: 44vw;
    }

    .about-section-head,
    .about-story-layout,
    .about-values-heading {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .about-section-head {
        margin-bottom: 65px;
    }

    .about-story-aside {
        display: flex;
        gap: 25px;
        align-items: baseline;
    }

    .about-story-aside p {
        max-width: none;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-stats article:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--grey);
    }

    .about-stats article:nth-child(4) {
        border-top: 1px solid var(--grey);
    }

    .about-system-inner {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .about-system-intro {
        position: static;
    }

    .about-section-head-row {
        grid-template-columns: 1fr;
        gap: 30px;
        align-items: start;
    }

    .about-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-values-grid article:nth-child(3) {
        border-top: 1px solid rgba(255, 255, 255, .22);
        border-left: 0;
    }

    .about-values-grid article:nth-child(4) {
        border-top: 1px solid rgba(255, 255, 255, .22);
    }
}

@media (max-width: 575px) {
    .about-system {
        --about-square: calc(100vw / 8);
    }

    .about-system-points {
        grid-template-columns: repeat(8, 1fr);
    }

    .about-system-points i:nth-child(3) { grid-column: 7; grid-row: 6; }
    .about-system-points i:nth-child(4) { grid-column: 7; grid-row: 7; }
    .about-system-points i:nth-child(5) { grid-column: 3; grid-row: 13; }
    .about-system-points i:nth-child(6) { grid-column: 4; grid-row: 13; }
    .about-system-points i:nth-child(7) { grid-column: 6; grid-row: 19; }
    .about-system-points i:nth-child(8) { grid-column: 7; grid-row: 19; }
    .about-system-points i:nth-child(9) { grid-column: 2; grid-row: 24; }
    .about-system-points i:nth-child(10) { grid-column: 3; grid-row: 24; }

    .about-hero {
        height: 100svh;
        min-height: 660px;
    }

    .about-hero-grid {
        top: 78px;
    }

    .about-kicker {
        top: 18%;
        left: 18px;
        gap: 9px;
        font-size: 11px;
    }

    .about-hero h1 {
        top: 31%;
        left: 18px;
        max-width: calc(100% - 36px);
        font-size: clamp(43px, 12vw, 54px);
        line-height: 1.02;
        letter-spacing: -2px;
    }

    .about-hero-lead {
        right: 18px;
        bottom: 7%;
        left: 18px;
        width: auto;
    }

    .about-hero-lead p {
        max-width: 430px;
        font-size: 15px;
    }

    .about-story,
    .about-timeline,
    .about-values {
        padding-top: 78px;
        padding-bottom: 78px;
    }

    .about-section-head h2,
    .about-system h2,
    .about-values h2 {
        font-size: 48px;
    }

    .about-section-head .about-label,
    .about-values-heading .about-label,
    .about-system-intro .about-label {
        padding-top: 0;
    }

    .about-story-layout {
        padding-top: 28px;
    }

    .about-story-copy {
        gap: 38px;
    }

    .about-story-lead {
        font-size: 29px;
    }

    .about-story-columns {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-story-columns p {
        font-size: 15px;
    }

    .about-stats {
        margin-top: 68px;
    }

    .about-stats article {
        min-height: 165px;
        padding: 22px 18px;
    }

    .about-stats strong {
        font-size: 48px;
    }

    .about-stats span {
        font-size: 10px;
    }

    .about-system-inner {
        min-width: 0;
        gap: 54px;
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .about-system-intro > p:last-child {
        margin-top: 30px;
        font-size: 15px;
    }

    .about-process article {
        grid-template-columns: 34px 54px 1fr;
        gap: 12px;
        min-height: 170px;
        padding: 28px 0;
    }

    .about-process article > i {
        font-size: 32px;
    }

    .about-process h3 {
        font-size: 25px;
    }

    .about-process p,
    .timeline-list p {
        font-size: 14px;
    }

    .timeline-list article {
        grid-template-columns: 64px 25px 1fr;
        min-height: 180px;
    }

    .timeline-list h3 {
        font-size: 23px;
    }

    .timeline-list article:hover {
        padding-right: 0;
        padding-left: 0;
    }

    .about-values-heading {
        margin-bottom: 54px;
    }

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

    .about-values-grid article,
    .about-values-grid article:nth-child(2),
    .about-values-grid article:nth-child(4) {
        min-height: 300px;
        border-top: 1px solid rgba(255, 255, 255, .22);
        border-left: 0;
    }

    .about-values-grid article:first-child {
        border-top: 0;
    }

    .about-values-grid article > i {
        margin-top: 36px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .about-hero-image,
    .about-system-points i {
        animation: none;
    }

    .about-system-points i:nth-child(3),
    .about-system-points i:nth-child(4),
    .about-system-points i:nth-child(7),
    .about-system-points i:nth-child(8) {
        opacity: .4;
    }
}

@media (max-width: 575px) {
    .service-card {
        min-height: 340px;
    }

    .service-card .service-icon {
        margin-bottom: 30px;
    }

    .service-card p {
        font-size: 14px;
    }
}

/* Jemný bodový pattern se světlem v sekci O nás */
.about-system::before {
    display: none;
}

.square-light-pattern {
    position: absolute;
    inset: 0;
    z-index: -1;
    display: block;
    width: 100%;
    height: 100%;
    opacity: .82;
    pointer-events: none;
}

.about-system-light {
    opacity: .82;
}

@media (max-width: 575px) {
    .about-system-light {
        opacity: .72;
    }
}

/* Stránka Kariéra */
.career-page {
    background: #fff;
}

.career-hero {
    position: relative;
    isolation: isolate;
    height: 55vh;
    height: 55svh;
    min-height: 460px;
    max-height: 620px;
    overflow: hidden;
    color: #fff;
    background: #07100d;
}

.career-hero-shade {
    position: absolute;
    inset: 0;
}

.career-hero-shade {
    z-index: -3;
    background:
        radial-gradient(circle at 18% 58%, rgba(32, 206, 136, .075), transparent 30%),
        radial-gradient(circle at 82% 35%, rgba(32, 206, 136, .045), transparent 24%),
        linear-gradient(120deg, #07100d, #0a1511 62%, #07100d);
}

.career-hero-light {
    z-index: -2;
    opacity: .86;
}

.career-hero-lines {
    position: absolute;
    inset: 78px 0 0;
    z-index: -1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255, 255, 255, .24);
    pointer-events: none;
}

.career-hero-lines span {
    border-left: 1px solid rgba(255, 255, 255, .12);
}

.career-hero-content {
    position: relative;
    height: 100%;
    padding-top: 78px;
}

.career-kicker,
.career-label,
.career-job-field,
.career-job-number,
.career-job-meta,
.career-openings-head > span {
    font-family: "Geist Mono", ui-monospace, monospace;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.career-kicker {
    position: absolute;
    top: 27%;
    left: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    color: rgba(255, 255, 255, .65);
}

.career-kicker i {
    width: 5px;
    height: 5px;
    background: var(--green);
}

.career-hero h1 {
    position: absolute;
    bottom: 11%;
    left: 12.5%;
    margin: 0;
    font-size: clamp(48px, 4.65vw, 70px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -3px;
}

.career-hero-lead {
    position: absolute;
    right: 28px;
    bottom: 12%;
    max-width: 360px;
    margin: 0;
    color: rgba(255, 255, 255, .75);
    font-size: 16px;
    line-height: 1.55;
}

.career-intro {
    padding-top: 126px;
    padding-bottom: 126px;
}

.career-intro-layout {
    display: grid;
    grid-template-columns: 25% 1fr;
    gap: 0;
}

.career-label {
    margin: 0;
    color: #737373;
}

.career-intro h2,
.career-openings h2 {
    margin: 0;
    font-size: clamp(48px, 5.8vw, 88px);
    font-weight: 500;
    line-height: .96;
    letter-spacing: -.06em;
}

.career-intro-layout > div > p {
    max-width: 750px;
    margin: 54px 0 0;
    color: #5d5d5d;
    font-size: 18px;
    line-height: 1.65;
}

.career-openings {
    padding-top: 124px;
    padding-bottom: 124px;
    background: #f4f5f3;
}

.career-openings-head {
    display: grid;
    grid-template-columns: 1fr;
    align-items: end;
    margin-bottom: 78px;
}

.career-openings-head > span {
    padding-bottom: 8px;
    color: #777;
}

.career-jobs {
    border-top: 1px solid var(--grey);
}

.career-job {
    position: relative;
    display: grid;
    grid-template-columns: 7% minmax(0, 1fr) 175px 56px;
    gap: 34px;
    align-items: center;
    min-height: 245px;
    padding: 36px 28px 36px 0;
    border-bottom: 1px solid var(--grey);
    transition: padding .35s ease, background .35s ease, color .35s ease;
}

.career-job:hover {
    padding-right: 34px;
    padding-left: 28px;
    color: #fff;
    background: #0c1713;
}

.career-job-number {
    align-self: start;
    padding-top: 5px;
    color: #888;
}

.career-job-field {
    margin: 0 0 22px;
    color: #777;
    transition: color .35s ease;
}

.career-job h3 {
    margin: 0 0 18px;
    font-size: clamp(32px, 3vw, 48px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -.045em;
}

.career-job-main > p:last-child {
    max-width: 760px;
    margin: 0;
    color: #666;
    font-size: 16px;
    line-height: 1.58;
    transition: color .35s ease;
}

.career-job-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: #666;
    transition: color .35s ease;
}

.career-job-meta span:first-child::before {
    display: inline-block;
    width: 5px;
    height: 5px;
    margin: 0 10px 2px 0;
    content: "";
    background: var(--green);
}

.career-job-link {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--black);
    border-radius: 50%;
    color: var(--black);
    font-size: 20px;
    text-decoration: none;
    transition: color .3s ease, background .3s ease, border-color .3s ease, transform .3s ease;
}

.career-job:hover .career-job-field,
.career-job:hover .career-job-main > p:last-child,
.career-job:hover .career-job-meta,
.career-job:hover .career-job-number {
    color: rgba(255, 255, 255, .62);
}

.career-job:hover .career-job-link,
.career-job-link:hover,
.career-job-link:focus-visible {
    border-color: var(--green);
    color: var(--black);
    background: var(--green);
    transform: translateX(5px);
}

.career-spontaneous {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 1.1fr 1fr auto;
    gap: 7%;
    align-items: center;
    min-height: 270px;
    margin-top: 82px;
    padding: 48px 54px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 84% 18%, rgba(32, 206, 136, .18), transparent 28%),
        #0c1713;
}

.career-spontaneous::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    opacity: .28;
    background-image: radial-gradient(rgba(32, 206, 136, .52) 1.5px, transparent 1.5px);
    background-size: 18px 18px;
    -webkit-mask-image: linear-gradient(90deg, transparent 18%, #000 72%, transparent);
    mask-image: linear-gradient(90deg, transparent 18%, #000 72%, transparent);
}

.career-spontaneous .career-label {
    margin-bottom: 18px;
    color: var(--green);
}

.career-spontaneous h3 {
    margin: 0;
    font-size: clamp(32px, 3.3vw, 48px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.045em;
}

.career-spontaneous > p {
    max-width: 430px;
    margin: 0;
    color: rgba(255, 255, 255, .64);
    font-size: 16px;
    line-height: 1.6;
}

.career-spontaneous .button {
    white-space: nowrap;
}

.career-footer {
    border-top: 1px solid rgba(255, 255, 255, .18);
}

@media (max-width: 1199px) {
    .career-hero h1 {
        left: 28px;
    }

    .career-hero-lead {
        max-width: 300px;
    }
}

@media (max-width: 991px) {
    .career-hero {
        height: 58svh;
        min-height: 500px;
    }

    .career-hero-lines {
        grid-template-columns: repeat(2, 1fr);
    }

    .career-hero-lines span:nth-child(n+3) {
        display: none;
    }

    .career-hero h1 {
        right: 28px;
        bottom: 22%;
        font-size: clamp(46px, 7vw, 64px);
    }

    .career-hero-lead {
        right: 28px;
        bottom: 7%;
        left: 28px;
        max-width: 520px;
    }

    .career-intro-layout,
    .career-openings-head {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .career-openings-head > span {
        padding: 0;
    }

    .career-job {
        grid-template-columns: 48px minmax(0, 1fr) 50px;
        gap: 22px;
    }

    .career-job-meta {
        grid-column: 2;
        grid-row: 2;
        flex-direction: row;
    }

    .career-job-link {
        grid-column: 3;
        grid-row: 1 / span 2;
    }

    .career-spontaneous {
        grid-template-columns: 1fr 1fr;
    }

    .career-spontaneous .button {
        justify-self: start;
    }
}

@media (max-width: 575px) {
    .career-hero {
        height: 62svh;
        min-height: 510px;
        max-height: 590px;
    }

    .career-kicker {
        top: 23%;
        left: 18px;
        font-size: 11px;
    }

    .career-hero h1 {
        right: 18px;
        bottom: 26%;
        left: 18px;
        font-size: clamp(40px, 11vw, 50px);
        letter-spacing: -2px;
    }

    .career-hero-lead {
        right: 18px;
        bottom: 7%;
        left: 18px;
        font-size: 14px;
    }

    .career-intro,
    .career-openings {
        padding-top: 76px;
        padding-bottom: 76px;
    }

    .career-intro h2,
    .career-openings h2 {
        font-size: 47px;
    }

    .career-intro-layout > div > p {
        margin-top: 34px;
        font-size: 15px;
    }

    .career-openings-head {
        margin-bottom: 52px;
    }

    .career-job {
        grid-template-columns: 30px minmax(0, 1fr) 42px;
        gap: 12px;
        min-height: 300px;
        padding: 28px 0;
    }

    .career-job:hover {
        padding-right: 14px;
        padding-left: 14px;
    }

    .career-job h3 {
        font-size: 31px;
    }

    .career-job-main > p:last-child {
        font-size: 14px;
    }

    .career-job-field,
    .career-job-number,
    .career-job-meta,
    .career-openings-head > span,
    .career-label {
        font-size: 11px;
    }

    .career-job-meta {
        flex-direction: column;
        gap: 6px;
    }

    .career-job-link {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }

    .career-spontaneous {
        grid-template-columns: 1fr;
        gap: 28px;
        min-height: 390px;
        margin-top: 55px;
        padding: 34px 26px;
    }

    .career-spontaneous > p {
        font-size: 14px;
    }
}

/* Kariérní CTA: fotografie vlevo, obsah vpravo */
.career-spontaneous {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
    min-height: 430px;
    padding: 0;
    background: #0c1713;
}

.career-spontaneous::before {
    display: none;
}

.career-spontaneous-media {
    min-width: 0;
    height: 100%;
    overflow: hidden;
}

.career-spontaneous-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    transition: transform .8s ease;
}

.career-spontaneous:hover .career-spontaneous-media img {
    transform: scale(1.035);
}

.career-spontaneous-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 54px clamp(38px, 5vw, 78px);
    background:
        radial-gradient(circle at 100% 0%, rgba(32, 206, 136, .16), transparent 36%),
        #0c1713;
}

.career-spontaneous-content > p:not(.career-label) {
    max-width: 500px;
    margin: 28px 0 32px;
    color: rgba(255, 255, 255, .64);
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .career-spontaneous {
        grid-template-columns: 1fr;
        gap: 0;
        min-height: 0;
        padding: 0;
    }

    .career-spontaneous-media {
        aspect-ratio: 4 / 3;
    }

    .career-spontaneous-content {
        min-height: 380px;
        padding: 38px 26px;
    }

    .career-spontaneous-content > p:not(.career-label) {
        font-size: 14px;
    }
}

/* Detail pracovní pozice */
.job-detail-hero .career-kicker a {
    color: inherit;
    text-decoration: none;
    transition: color .25s ease;
}

.job-detail-hero .career-kicker a:hover,
.job-detail-hero .career-kicker a:focus-visible {
    color: #fff;
}

.job-detail-hero-side {
    position: absolute;
    right: 28px;
    bottom: 11%;
    width: min(400px, 31vw);
}

.job-detail-hero-side > p {
    margin: 24px 0 0;
    color: rgba(255, 255, 255, .75);
    font-size: 16px;
    line-height: 1.55;
}

.job-detail-hero-meta {
    display: flex;
    gap: 24px;
    font-family: "Geist Mono", ui-monospace, monospace;
    font-size: 12px;
    text-transform: uppercase;
}

.job-detail-hero-meta span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.job-detail-hero-meta span::before {
    width: 5px;
    height: 5px;
    content: "";
    background: var(--green);
}

.job-detail-intro {
    padding-top: 78px;
    padding-bottom: 126px;
    background: #fff;
}

.job-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 92px;
    color: #626262;
    font-family: "Geist Mono", ui-monospace, monospace;
    font-size: 13px;
    text-decoration: none;
    text-transform: uppercase;
    transition: gap .25s ease, color .25s ease;
}

.job-detail-back:hover,
.job-detail-back:focus-visible {
    gap: 15px;
    color: var(--black);
}

.job-detail-lead-grid {
    display: grid;
    grid-template-columns: 25% minmax(0, 1fr);
}

.job-detail-lead-grid h2 {
    max-width: 1020px;
    margin: 0;
    font-size: clamp(48px, 5.5vw, 82px);
    font-weight: 500;
    line-height: .96;
    letter-spacing: -.06em;
}

.job-detail-lead-grid > div > p {
    max-width: 760px;
    margin: 52px 0 0;
    color: #5d5d5d;
    font-size: 18px;
    line-height: 1.65;
}

.job-detail-body {
    padding: 0 0 130px;
    background: #f4f5f3;
}

.job-detail-layout {
    display: grid;
    grid-template-columns: minmax(220px, 25%) minmax(0, 1fr);
}

.job-detail-summary {
    align-self: start;
    padding: 76px 50px 76px 0;
}

.job-detail-summary dl {
    margin: 42px 0 44px;
}

.job-detail-summary dl > div {
    padding: 17px 0;
    border-top: 1px solid var(--grey);
}

.job-detail-summary dl > div:last-child {
    border-bottom: 1px solid var(--grey);
}

.job-detail-summary dt {
    margin-bottom: 6px;
    color: #777;
    font-family: "Geist Mono", ui-monospace, monospace;
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
}

.job-detail-summary dd {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
}

.job-detail-sections {
    border-left: 1px solid var(--grey);
}

.job-detail-section {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 34px;
    padding: 76px 0 76px 54px;
    border-bottom: 1px solid var(--grey);
}

.job-detail-section:last-child {
    border-bottom: 0;
}

.job-detail-number {
    padding-top: 9px;
    color: #7c7c7c;
    font-family: "Geist Mono", ui-monospace, monospace;
    font-size: 13px;
}

.job-detail-number::after {
    display: block;
    width: 5px;
    height: 5px;
    margin-top: 16px;
    content: "";
    background: var(--green);
}

.job-detail-section h2 {
    margin: 0 0 38px;
    font-size: clamp(34px, 3.4vw, 52px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.05em;
}

.job-detail-section ul {
    display: grid;
    gap: 0;
    max-width: 900px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.job-detail-section li {
    position: relative;
    padding: 18px 0 18px 28px;
    border-top: 1px solid rgba(187, 187, 187, .72);
    color: #4f4f4f;
    font-size: 17px;
    line-height: 1.55;
}

.job-detail-section li:last-child {
    border-bottom: 1px solid rgba(187, 187, 187, .72);
}

.job-detail-section li::before {
    position: absolute;
    top: 27px;
    left: 0;
    width: 6px;
    height: 6px;
    content: "";
    background: var(--green);
}

.job-detail-footer-label {
    margin: 0 0 22px !important;
    color: var(--green);
    font-family: "Geist Mono", ui-monospace, monospace;
    font-size: 13px !important;
    text-transform: uppercase;
}

@media (max-width: 1199px) {
    .job-detail-hero-side {
        width: 340px;
    }

    .job-detail-section {
        grid-template-columns: 58px minmax(0, 1fr);
        padding-left: 38px;
    }
}

@media (max-width: 991px) {
    .job-detail-hero h1 {
        bottom: 29%;
    }

    .job-detail-hero-side {
        right: 28px;
        bottom: 6%;
        left: 28px;
        width: auto;
    }

    .job-detail-hero-side > p {
        max-width: 620px;
        margin-top: 14px;
        font-size: 14px;
    }

    .job-detail-lead-grid,
    .job-detail-layout {
        grid-template-columns: 1fr;
    }

    .job-detail-lead-grid {
        gap: 34px;
    }

    .job-detail-summary {
        padding-right: 0;
    }

    .job-detail-summary dl {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .job-detail-summary dl > div:last-child {
        border-bottom: 0;
    }

    .job-detail-sections {
        border-top: 1px solid var(--grey);
        border-left: 0;
    }
}

@media (max-width: 575px) {
    .job-detail-hero h1 {
        bottom: 34%;
        font-size: clamp(38px, 11vw, 50px);
    }

    .job-detail-hero-side {
        right: 18px;
        bottom: 6%;
        left: 18px;
    }

    .job-detail-hero-meta {
        gap: 16px;
        font-size: 10px;
    }

    .job-detail-hero-side > p {
        font-size: 13px;
        line-height: 1.45;
    }

    .job-detail-intro {
        padding-top: 58px;
        padding-bottom: 76px;
    }

    .job-detail-back {
        margin-bottom: 60px;
        font-size: 11px;
    }

    .job-detail-lead-grid h2 {
        font-size: 43px;
    }

    .job-detail-lead-grid > div > p {
        margin-top: 34px;
        font-size: 15px;
    }

    .job-detail-body {
        padding-bottom: 78px;
    }

    .job-detail-summary {
        padding: 54px 0 62px;
    }

    .job-detail-summary dl {
        grid-template-columns: 1fr;
        gap: 0;
        margin: 32px 0 36px;
    }

    .job-detail-summary dl > div:last-child {
        border-bottom: 1px solid var(--grey);
    }

    .job-detail-section {
        grid-template-columns: 28px minmax(0, 1fr);
        gap: 14px;
        padding: 54px 0;
    }

    .job-detail-section h2 {
        margin-bottom: 28px;
        font-size: 35px;
    }

    .job-detail-section li {
        padding: 15px 0 15px 22px;
        font-size: 14px;
    }

    .job-detail-section li::before {
        top: 23px;
        width: 5px;
        height: 5px;
    }
}
