.water-analysis-section {
    position: relative;
    padding: 78px 0 86px;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 22%, rgba(14, 165, 233, 0.12), transparent 30%),
        radial-gradient(circle at 82% 34%, rgba(15, 118, 110, 0.10), transparent 28%),
        linear-gradient(180deg, #f3fbfd 0%, #eaf7f8 48%, #f7fdff 100%);
}

.water-analysis-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 80%, rgba(56, 189, 248, 0.13) 0 2px, transparent 3px),
        radial-gradient(circle at 86% 74%, rgba(8, 145, 178, 0.12) 0 2px, transparent 3px),
        linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, transparent 34%);
    background-size: auto, auto, auto;
    z-index: 0;
}

.water-analysis-section::after {
    content: "";
    position: absolute;
    left: -8%;
    right: -8%;
    bottom: -80px;
    height: 220px;
    pointer-events: none;
    background:
        radial-gradient(ellipse at center, rgba(14, 165, 233, 0.12) 0%, transparent 68%);
    z-index: 0;
}

.water-analysis-section > .site-wrap {
    position: relative;
    z-index: 1;
}

.water-analysis-section__header {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}

.water-analysis-section__header h2 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.water-analysis-section__header p {
    margin: 0;
    color: #476072;
    font-size: 17px;
    line-height: 1.75;
}

.water-analysis-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px) minmax(0, 1fr);
    gap: 34px;
    align-items: center;
}

.water-analysis-column {
    display: grid;
    gap: 18px;
}

.water-analysis-item {
    position: relative;
    min-height: 178px;
    height: 100%;
    padding: 20px 20px 18px 56px;
    border: 1px solid rgba(8, 145, 178, 0.14);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.68) 0%, rgba(248, 253, 255, 0.46) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        0 14px 32px rgba(15, 23, 42, 0.055);
    backdrop-filter: blur(10px);
    overflow: hidden;

    display: flex;
    flex-direction: column;
}

.water-analysis-item::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 24px;
    width: 22px;
    height: 30px;
    border-radius: 50% 50% 55% 55%;
    background:
        radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.92) 0 14%, transparent 16%),
        linear-gradient(180deg, #38bdf8 0%, #0891b2 100%);
    transform: rotate(8deg);
    box-shadow: 0 10px 22px rgba(8, 145, 178, 0.2);
}

.water-analysis-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(15, 118, 110, 0.15), rgba(56, 189, 248, 0.55), rgba(15, 118, 110, 0.12));
    opacity: 0.85;
}

.water-analysis-item h3 {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.water-analysis-item__value {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 34px;
    margin: 0 0 9px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(238, 249, 253, 0.92);
    color: #0284a8;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.2;
    box-shadow: inset 0 0 0 1px rgba(8, 145, 178, 0.10);
}

.water-analysis-item p {
    margin: 0;
    color: #4b6475;
    font-size: 14px;
    line-height: 1.65;

    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.water-analysis-column {
    display: grid;
    gap: 18px;
    align-self: stretch;
}

.water-analysis-column--left,
.water-analysis-column--right {
    grid-auto-rows: 1fr;
}

/* Lijeva strana se lagano okreće prema čaši */
.water-analysis-column--left .water-analysis-item {
    padding: 20px 56px 18px 20px;
    text-align: right;
}

.water-analysis-column--left .water-analysis-item::before {
    left: auto;
    right: 20px;
    transform: rotate(-8deg);
}

.water-analysis-column--left .water-analysis-item__value {
    margin-left: auto;
}

/* Sredina ostaje glavni vizuelni fokus */
.water-analysis-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.water-analysis-visual {
    position: relative;
    width: min(100%, 400px);
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.water-analysis-visual::before {
    content: "";
    position: absolute;
    width: 82%;
    height: 82%;
    border-radius: 999px;
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.86) 0%, rgba(186, 230, 253, 0.22) 48%, transparent 70%);
    filter: blur(2px);
    z-index: 0;
}

.water-analysis-visual::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 34px;
    width: 72%;
    height: 24px;
    border-radius: 999px;
    background: rgba(8, 145, 178, 0.10);
    filter: blur(10px);
    transform: translateX(-50%);
    z-index: 0;
}

.water-analysis-visual__glass {
    position: relative;
    z-index: 2;
    max-width: 100%;
    max-height: 520px;
    object-fit: contain;
    animation: waterGlassFloat 4.6s ease-in-out infinite;
    filter: drop-shadow(0 28px 45px rgba(15, 23, 42, 0.14));
}

.water-analysis-visual__bubbles {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 88%;
    height: 88%;
    object-fit: contain;
    z-index: 3;
    animation: waterBubblesFloat 5.4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes waterGlassFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes waterBubblesFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-16px);
    }
}

@media (max-width: 1180px) {
    .water-analysis-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .water-analysis-column {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .water-analysis-column--left .water-analysis-item,
    .water-analysis-column--right .water-analysis-item {
        padding: 20px 20px 18px 56px;
        text-align: left;
    }

    .water-analysis-column--left .water-analysis-item::before,
    .water-analysis-column--right .water-analysis-item::before {
        left: 20px;
        right: auto;
        transform: rotate(8deg);
    }

    .water-analysis-column--left .water-analysis-item__value {
        margin-left: 0;
    }

    .water-analysis-center {
        order: -1;
    }

    .water-analysis-visual {
        min-height: 420px;
    }

    .water-analysis-visual__glass {
        max-height: 420px;
    }
}

@media (max-width: 768px) {
    .water-analysis-section {
        padding: 58px 0 62px;
    }

    .water-analysis-section__header {
        margin-bottom: 28px;
    }

    .water-analysis-section__header p {
        font-size: 15px;
        line-height: 1.7;
    }

    .water-analysis-column {
        grid-template-columns: 1fr;
    }

.water-analysis-item {
    min-height: 160px;
    padding: 18px 16px 16px 52px;
    border-radius: 18px;
}

    .water-analysis-item::before {
        left: 17px;
        top: 21px;
        width: 20px;
        height: 27px;
    }

    .water-analysis-item h3 {
        font-size: 17px;
    }

    .water-analysis-item__value {
        font-size: 21px;
    }

    .water-analysis-visual {
        min-height: 320px;
    }

    .water-analysis-visual__glass {
        max-height: 320px;
    }
}