/* ==========================================================================
   PONOŽKOBOTY - ROZVRŽENÍ PODLE PŮVODNÍ STRÁNKY
   ========================================================================== */

.ponozkoboty-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 20% 16%, rgba(66, 201, 255, 0.34), transparent 28%),
        radial-gradient(circle at 84% 20%, rgba(255, 255, 255, 0.20), transparent 24%),
        radial-gradient(circle at 16% 88%, rgba(11, 111, 199, 0.28), transparent 28%),
        radial-gradient(circle at 86% 84%, rgba(87, 240, 255, 0.28), transparent 25%),
        linear-gradient(180deg, #042d63 0%, #0587c9 52%, #35d8ec 100%);
}

.ponozkoboty-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.ponozkoboty-bg::before,
.ponozkoboty-bg::after {
    content: "";
    position: absolute;
    inset: -18%;
    background-repeat: repeat;
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.62) 1px, transparent 1.6px),
        radial-gradient(circle, rgba(117,229,255,0.58) 1px, transparent 1.7px),
        radial-gradient(circle, rgba(160,235,255,0.46) 1px, transparent 1.8px);
    background-size: 120px 120px, 190px 190px, 280px 280px;
    background-position: 0 0, 60px 80px, 110px 45px;
    animation: ponozkobotyStarsMove 95s linear infinite;
    opacity: 0.28;
}

.ponozkoboty-bg::after {
    animation-duration: 145s;
    opacity: 0.14;
    transform: scale(1.7);
}

@keyframes ponozkobotyStarsMove {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-120px, -190px, 0);
    }
}

.water-bubble {
    position: absolute;
    display: block;
    border-radius: 999px;
    border: 2px solid rgba(220, 250, 255, 0.58);
    background:
        radial-gradient(circle at 30% 24%, rgba(255,255,255,0.78), transparent 14%),
        radial-gradient(circle at 50% 60%, rgba(77, 215, 255, 0.32), transparent 56%);
    box-shadow: 0 0 18px rgba(98, 227, 255, 0.42);
    opacity: 0.38;
    animation: waterBubbleFloat 18s ease-in-out infinite;
}

.bubble-1 { width: 58px; height: 58px; left: 8%; top: 20%; animation-delay: -1s; }
.bubble-2 { width: 38px; height: 38px; right: 12%; top: 22%; animation-delay: -4s; }
.bubble-3 { width: 76px; height: 76px; left: 14%; bottom: 24%; animation-delay: -7s; }
.bubble-4 { width: 48px; height: 48px; right: 18%; bottom: 18%; animation-delay: -10s; }
.bubble-5 { width: 34px; height: 34px; left: 50%; top: 42%; animation-delay: -13s; }
.bubble-6 { width: 66px; height: 66px; right: 42%; bottom: 34%; animation-delay: -16s; }

@keyframes waterBubbleFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(0.95);
    }

    50% {
        transform: translate3d(18px, -48px, 0) scale(1.08);
    }
}

.ponozkoboty-inner {
    position: relative;
    z-index: 2;
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 34px 0 90px;
}

.ponozkoboty-main-title {
    margin: 0 0 54px;
    text-align: center;
    font-size: clamp(2.8rem, 6vw, 5.3rem);
    line-height: 0.95;
    color: #ffffff;
    text-shadow:
        2px 2px 0 #287fb2,
        -2px 2px 0 #287fb2,
        2px -2px 0 #287fb2,
        -2px -2px 0 #287fb2;
}

.ponozkoboty-hero {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 42px;
    padding: 58px 62px;
    border-radius: 72px;
    background: rgba(220, 250, 255, 0.72);
    box-shadow:
        inset 0 0 34px rgba(255,255,255,0.38),
        0 24px 60px rgba(20, 70, 120, 0.18);
    backdrop-filter: blur(4px);
}

.ponozkoboty-hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ponozkoboty-hero-image img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    filter: drop-shadow(0 18px 22px rgba(20, 70, 120, 0.22));
}

.ponozkoboty-hero-copy {
    color: #137fb0;
}

.ponozkoboty-kicker {
    margin: 0 0 12px;
    color: #258ac8;
    font-size: 1.05rem;
    font-weight: bold;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ponozkoboty-hero-copy h2 {
    margin: 0 0 20px;
    color: #137fb0;
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    line-height: 0.95;
}

.ponozkoboty-hero-copy p {
    margin: 0;
    color: #137fb0;
    font-size: 1.16rem;
    line-height: 1.55;
}

.ponozkoboty-content {
    display: flex;
    flex-direction: column;
    gap: 34px;
    margin-bottom: 54px;
}

.ponozkoboty-story-card {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 42px;
    align-items: center;
    padding: 44px 52px;
    border-radius: 58px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow:
        inset 0 0 28px rgba(255,255,255,0.35),
        0 20px 48px rgba(20, 70, 120, 0.16);
    backdrop-filter: blur(4px);
}

.ponozkoboty-story-card.is-reversed {
    grid-template-columns: 1fr 380px;
}

.ponozkoboty-story-card.is-reversed .ponozkoboty-story-image {
    order: 2;
}

.ponozkoboty-story-card.is-reversed .ponozkoboty-story-copy {
    order: 1;
}

.ponozkoboty-story-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ponozkoboty-story-image img {
    width: 100%;
    max-height: 320px;
    object-fit: contain;
    filter: drop-shadow(0 14px 20px rgba(20, 70, 120, 0.18));
}

.ponozkoboty-story-copy h2 {
    margin: 0 0 18px;
    color: #137fb0;
    font-size: clamp(2rem, 3.4vw, 3rem);
    line-height: 1.02;
}

.ponozkoboty-story-copy p {
    margin: 0;
    color: #137fb0;
    font-size: 1.08rem;
    line-height: 1.6;
}

.ponozkoboty-bottom-nav {
    padding: 44px 46px;
    border-radius: 52px;
    background: rgba(37, 138, 200, 0.68);
    box-shadow:
        inset 0 0 28px rgba(255,255,255,0.10),
        0 20px 46px rgba(20, 70, 120, 0.18);
    backdrop-filter: blur(4px);
}

.ponozkoboty-bottom-nav h2 {
    margin: 0 0 28px;
    text-align: center;
    color: #ffffff;
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1;
    text-shadow:
        1px 1px 0 #287fb2,
        -1px 1px 0 #287fb2,
        1px -1px 0 #287fb2,
        -1px -1px 0 #287fb2;
}

.ponozkoboty-switch-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.ponozkoboty-switch-card {
    min-height: 210px;
    padding: 18px;
    border-radius: 28px;
    background: rgba(255,255,255,0.92);
    text-decoration: none;
    color: #137fb0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 12px 28px rgba(20, 70, 120, 0.14);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ponozkoboty-switch-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(20, 70, 120, 0.22);
}

.ponozkoboty-switch-card img {
    width: 100%;
    height: 145px;
    object-fit: contain;
}

.ponozkoboty-switch-card span {
    margin-top: 14px;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
}

@media (max-width: 1024px) {
    .ponozkoboty-hero {
        grid-template-columns: 1fr;
        padding: 44px 34px;
        border-radius: 48px;
        text-align: center;
    }

    .ponozkoboty-hero-image img {
        max-height: 340px;
    }

    .ponozkoboty-story-card,
    .ponozkoboty-story-card.is-reversed {
        grid-template-columns: 1fr;
        padding: 38px 32px;
        border-radius: 42px;
        text-align: center;
    }

    .ponozkoboty-story-card.is-reversed .ponozkoboty-story-image,
    .ponozkoboty-story-card.is-reversed .ponozkoboty-story-copy {
        order: initial;
    }

    .ponozkoboty-story-image img {
        max-height: 280px;
    }

    .ponozkoboty-switch-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .ponozkoboty-inner {
        width: calc(100% - 24px);
        padding-bottom: 60px;
    }

    .ponozkoboty-main-title {
        margin-bottom: 34px;
        font-size: 3rem;
    }

    .ponozkoboty-hero {
        padding: 34px 24px;
        border-radius: 36px;
    }

    .ponozkoboty-hero-copy h2 {
        font-size: 2.7rem;
    }

    .ponozkoboty-hero-copy p,
    .ponozkoboty-story-copy p {
        font-size: 1rem;
    }

    .ponozkoboty-story-card {
        padding: 32px 22px;
        border-radius: 34px;
    }

    .ponozkoboty-story-image img {
        max-height: 230px;
    }

    .ponozkoboty-bottom-nav {
        padding: 32px 22px;
        border-radius: 34px;
    }

    .ponozkoboty-switch-grid {
        grid-template-columns: 1fr;
    }
}