:root {
    --sp-container-width: 1600px;
    --sp-accent: #c8a97e;
    --sp-bg-muted: #f9f8f6;
    --sp-text-muted: #666;
}

.sp-page-content img {
    max-width: 100%;
    height: auto;
    display: block;
}

.sp-section {
    padding: 15vh 0;
    background: #fff;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.2s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.sp-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.sp-section--muted {
    background: var(--sp-bg-muted);
}

.sp-container {
    margin: 0 auto;
    padding: 0 4vw;
}

.sp-section-num {
    font-family: 'Archivo', sans-serif;
    font-size: 4rem;
    font-weight: 200;
    color: rgba(0, 0, 0, 0.03);
    position: absolute;
    top: 5vh;
    right: 4vw;
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}

.sp-section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 500;
    line-height: 1.1;
    color: #111;
    margin: 0 0 2rem;
    position: relative;
    z-index: 1;
}

.sp-accent-line {
    width: 80px;
    height: 3px;
    background: var(--sp-accent);
    margin-bottom: 4rem;
}

.sp-intro-text {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.6;
    color: #333;
    margin-bottom: 8vh;
    position: relative;
    z-index: 1;
}

.sp-values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.sp-value-item {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    background: #fff;
    border: 1px solid #eee;
    transition: all 0.5s ease;
}

.sp-value-item:hover {
    border-color: var(--sp-accent);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.sp-value-icon {
    width: 64px;
    height: 64px;
    color: var(--sp-accent);
}

.sp-value-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--sp-accent);
}

.sp-value-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #111;
    margin: 0 0 1rem;
}

.sp-value-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--sp-text-muted);
    margin: 0;
}

.sp-equality-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.sp-equality-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
}

.sp-score-box {
    padding: 2.5rem;
    background: #fff;
    border-radius: 2px;
    text-align: center;
    border: 1px solid #eee;
}

.sp-score-val {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 800;
    color: #111;
    line-height: 1;
}

.sp-score-label {
    display: block;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: 1rem;
    color: var(--sp-accent);
}

.sp-split-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.sp-split-row--reverse {
    direction: ltr;
}

.sp-split-row--reverse>* {
    direction: ltr;
}

.sp-subsection-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #111;
    margin: 0 0 2rem;
}

.sp-split-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
}

.sp-placeholder {
    background: #f0f0f0;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.sp-placeholder::after {
    content: 'IMAGE PLACEHOLDER';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: #aaa;
}

.sp-split-img {
    height: 50vh;
    width: 100%;
    margin-bottom: 2rem;
}

.sp-split-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.sp-split-img:hover img {
    transform: scale(1.08);
}

.sp-climate-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    text-align: center;
    margin: 10vh 0;
}

.sp-climate-text p {
    font-size: clamp(1rem, 1.2vw, 1.25rem);
    line-height: 1.8;
    color: #444;
    font-style: italic;
}

.sp-climate-text--left,
.sp-climate-text--right {
    text-align: center;
    padding: 0;
    border: none;
}

.sp-climate-text--left {
    order: 1;
}

.sp-climate-visual {
    width: 100%;
    display: flex;
    justify-content: center;
    order: 2;
}

.sp-climate-text--right {
    order: 3;
}

.sp-climate-visual img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.05));
    transition: transform 0.6s ease;
}

.sp-climate-visual:hover img {
    transform: scale(1.05);
}

.sp-steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.sp-step-block {
    padding: 4rem 0;
    border-bottom: 1px solid #eee;
}

.sp-step-block:nth-last-child(-n+2) {
    border-bottom: none;
}

.sp-step-block h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #111;
    margin: 0 0 1.5rem;
}

.sp-step-block p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

.sp-step-img {
    width: 100%;
    margin: 2rem auto 0;
    display: block;
}

/*//kod koji pasteujem*/

@media (min-width: 768px) {}

@media (min-width: 1024px) {

    /*kod koji pasteujem*/
    .sp-section-num {
        font-size: 8rem;
    }

    .sp-container {
        max-width: var(--sp-container-width);
    }

    .sp-values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6vh 10vw;
    }

    .sp-value-item {
        padding: 3rem;
    }

    .sp-equality-content {
        grid-template-columns: 1fr 1fr;
        gap: 6vw;
    }

    .sp-score-box {
        padding: 4rem;
    }

    .sp-score-val {
        font-size: 6rem;
    }

    .sp-split-row {
        grid-template-columns: 1fr 1fr;
        gap: 8vw;
    }

    .sp-split-row--reverse {
        direction: rtl;
    }

    .sp-split-img {
        height: 70vh;
        margin-bottom: 0;
    }

    .sp-subsection-title {
        font-size: 2.5rem;
    }

    .sp-climate-grid {
        display: grid;
        grid-template-columns: 1fr 1.5fr 1fr;
        gap: 1vw;
        align-items: center;
        margin: 15vh 0;
        text-align: initial;
    }

    .sp-climate-text--left {
        text-align: right;
        padding-right: 2rem;
        border-right: 1px solid #eee;
    }

    .sp-climate-text--right {
        text-align: left;
        padding-left: 2rem;
        border-left: 1px solid #eee;
    }

    .sp-steps-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5vw;
    }

    .sp-step-img {
        width: 100%;
        margin-top: 4rem;
    }

    /*//kod koji pasteujem*/
}


@media (min-width: 1280px) {
    :root {
        --sp-container-width: 1600px;
    }

    .sp-values-grid {
        gap: 4vw;
    }
}