/* =================================================================
 * HERO
 * Mobile-first: bg sticky + panel scrolls over it.
 * Desktop (992px+): outer wrapper becomes sticky, split flex layout.
 * ================================================================= */

:root {
    --presa-nav-height: 60px;
}

/* ---- Outer wrapper ---- */
.presa-hero-outer {
    position: relative;
    /* Push outer below nav so section 2 starts at viewport bottom */
    margin-top: var(--presa-nav-height);
    display: none;
}

/* ---- Mobile background (sticky, sits behind the panel) ---- */
.presa-hero-bg {
    position: sticky;
    top: var(--presa-nav-height);
    height: calc(100svh - var(--presa-nav-height));
    background-image: url('/assets/prese-slide/mob/plava-zena-hero-mob.jpg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    z-index: 1;
}

.presa-hero-mob {
    position: sticky;
    top: var(--presa-nav-height);
    margin-top: var(--presa-nav-height);
    height: calc(100svh - var(--presa-nav-height));
    background-image: url('/assets/prese-slide/mob/plava-zena-hero-mob.jpg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    z-index: 1;
}

.presa-hero__panel.sticky {
    position: sticky;
    z-index: 2;
}

/* ---- Section (panel wrapper) ---- */
.presa-hero {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    /* Mobile: pull panel up to overlap the sticky bg */
    margin-top: calc(-(100svh - var(--presa-nav-height)));
}

.presa-hero__left {
    display: none;
}

/* ---- Blur panel ---- */
.presa-hero__panel {
    width: 100%;
    min-height: calc(100svh - var(--presa-nav-height));
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    position: sticky;
    top: var(--presa-nav-height);
}

/* ---- Content inside panel ---- */
.presa-hero__content {
    padding: 60px 32px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.presa-hero__crown {
    display: block;
    width: 85px;
    height: auto;
    margin-bottom: 24px;
    margin-left: auto;
    margin-right: auto;
}

.presa-hero__title {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    font-size: 64px;
    line-height: 56px;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 60px 0;
}

.presa-hero__model {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0;
    color: #fff;
    margin: 0 0 30px 0;
}

.presa-hero__tagline {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0;
    color: #fff;
    margin: 0;
}

/* =================================================================
 * SECTION 2 — Mobile-first
 * ================================================================= */
.presa-section-2 {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    background: radial-gradient(
        #222049 40%,
        #000000 100%
    );
}

.presa-section-2__left {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

.presa-section-2__right {
    display: none;
}

.presa-section-2__text {
    width: 100%;
    padding: 0 32px;
    text-align: center;
    box-sizing: border-box;
}

.presa-section-2__title {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    font-size: 56px;
    line-height: 48px;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 32px 0;
}

.presa-section-2__para {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0;
    color: #fff;
    margin: 0 0 20px 0;
}

.presa-section-2__para:last-child {
    margin-bottom: 0;
}

/* Mobile image block */
.presa-section-2-mob-images {
    position: relative;
    height: 65vh;
    background-image: url('/assets/prese-slide/mob/druga-sekcija-kosa-mob.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    z-index: 4;
}

.presa-section-2-mob-press {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    max-height: 80%;
    width: auto;
}

/* Section 3 and press image: hidden on mobile */
.presa-section-3 {
    display: none;
}

.presa-press-image {
    display: none;
}

/* ---- Section 4 mobile ---- */
.presa-section-4 {
    position: relative;
    z-index: 5;
    height: 120vh;
    background-image: url('/assets/prese-slide/mob/sive-prese-bg-mob.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.presa-section-4__bg-img {
    display: none;
}

.presa-section-4__content {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 24px;
    box-sizing: border-box;
}

.presa-section-4__title {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    font-size: 48px;
    line-height: 44px;
    letter-spacing: 0;
    text-transform: uppercase;
    text-align: center;
    background: linear-gradient(180deg, #D4BCA2 0%, #7A573B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 32px 0;
}

.presa-section-4__para {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0;
    text-align: center;
    background: #7A573B;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

/* =================================================================
 * DESKTOP (992px+)
 * Outer becomes the sticky element. Hero switches to flex row.
 * ================================================================= */
@media (min-width: 992px) {

    .presa-hero-outer {
        position: sticky;
        top: var(--presa-nav-height);
        height: calc(100svh - var(--presa-nav-height));
        background-image: url('/assets/prese-slide/desk/plava-zena-hero.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        z-index: 1;
        display: block;
    }

    .presa-hero-mob {
        display: none;
    }

    .presa-hero__panel.sticky {
        display: none;
    }

    /* bg div not needed on desktop */
    .presa-hero-bg {
        display: none;
    }

    .presa-hero {
        position: static;
        z-index: auto;
        height: 100%;
        flex-direction: row;
        margin-top: 0; /* reset mobile negative margin */
    }

    /* Left half: background image shows through */
    .presa-hero__left {
        display: block;
        flex: 1;
    }

    /* Right half: blur panel */
    .presa-hero__panel {
        width: 50%;
        min-height: 0;
        height: 100%;
        align-items: center;
        justify-content: flex-start;
    }

    .presa-hero__content {
        padding: 0 60px 0 90px;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        text-align: left;
    }

    .presa-hero__crown {
        margin-bottom: 32px;
        margin-left: 0;
        margin-right: 0;
    }

    .presa-hero__title {
        font-size: 91px;
        line-height: 79px;
        margin-bottom: 25px;
    }

    .presa-hero__model {
        font-size: 22px;
        line-height: 30px;
        margin-bottom: 40px;
    }

    .presa-hero__tagline {
        font-size: 18px;
        line-height: 30px;
    }

    /* ---- Section 2 desktop ---- */
    .presa-section-2 {
        position: sticky;
        top: var(--presa-nav-height);
        height: calc(100svh - var(--presa-nav-height));
        flex-direction: row;
        background: radial-gradient(
            ellipse 50% 60% at center,
            #222049 0%,
            #000000 100%
        );
    }

    .presa-section-2__left {
        flex: 1;
        width: auto;
        padding: 0;
        justify-content: flex-end;
    }

    .presa-section-2__right {
        display: block;
        width: 50%;
        flex-shrink: 0;
        background-image: url('/assets/prese-slide/desk/druga-sekcija-kosa.jpg');
        background-size: cover;
        background-position: center;
    }

    .presa-section-2__text {
        padding: 0 70px 0 40px;
        text-align: right;
    }

    .presa-section-2__title {
        font-size: 71px;
        line-height: 72px;
        text-align: right;
        margin-bottom: 32px;
    }

    .presa-section-2__para {
        line-height: 30px;
        text-align: right;
    }

    .presa-section-2-mob-images {
        display: none;
    }

    /* ---- Section 3: red parallax placeholder ---- */
    .presa-section-3 {
        display: block;
        position: relative;
        z-index: 4;
        background: transparent;
        min-height: 100vh;
        overflow: visible;
    }
    /* ---- Section 4 ---- */
    .presa-section-4 {
        position: relative;
        z-index: 5;
        height: 130svh;
        overflow: hidden;
        background-image: none;
    }

    .presa-section-4__bg-img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .presa-section-4__content {
        position: absolute;
        top: 100px;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 40px;
        box-sizing: border-box;
    }

    .presa-section-4__title {
        font-size: 71px;
        line-height: 72px;
        margin: 0 0 40px 0;
    }

    .presa-section-4__para {
        font-size: 18px;
        line-height: 30px;
    }

    /* Press image sits at the top of section 3, centered on the right half.
       transform: translate(-50%, -50%) centers it on section 3's top edge,
       making the top half float over section 2 and the bottom half enter with section 3. */
    .presa-press-image {
        display: block;
        position: absolute;
        top: calc(-100svh + var(--presa-nav-height) + 220px);
        left: 75%;
        transform: translateX(-50%);
        width: 300px;
        height: auto;
        pointer-events: none;
    }
}

/* =================================================================
 * SECTION 5 — Scroll sentence animation
 *
 * Pinning, scroll distance and snap-to-sentence are all owned by GSAP
 * ScrollTrigger (presa-section5.js) — same library/pattern already used
 * for product1-presa.js (whose pinned trigger, .controls-story, is also
 * plain position:relative — never position:sticky). ScrollTrigger pins
 * .presa-section-5 via inline styles for the scroll range it defines and
 * auto-inserts its own spacer inside .presa-s5-outer, so .presa-s5-outer
 * needs no explicit height here.
 *
 * Do NOT add position:sticky/fixed back on .presa-section-5 — GSAP's pin
 * measures the element assuming normal (static/relative) flow, and a
 * conflicting CSS position silently breaks that measurement (no console
 * error, the pin/snap just never engages).
 * ================================================================= */
.presa-s5-outer {
    position: relative;
    z-index: 6;
}

.presa-section-5 {
    position: relative;
    z-index: 6;
    height: calc(100svh - var(--presa-nav-height));
    overflow: hidden;
    background: #141414;
    transition: background 420ms ease;
}

.presa-section-5.is-final {
    background: #2c2c4c;
}

.presa-s5-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #141414;
    pointer-events: none;
}

.presa-s5-video-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(20,20,20,.28), rgba(20,20,20,.38));
    transition: background 420ms ease;
}

.presa-section-5.is-final .presa-s5-video-bg::after {
    background: linear-gradient(rgba(44,44,76,.34), rgba(44,44,76,.48));
}

.presa-s5-video-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.78vh;
    height: 100vh;
    min-width: 100vw;
    min-height: 56.25vw;
    border: 0;
    transform: translate(-50%, -50%);
}

.presa-s5-inner {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.presa-s5-scroll-hint {
    position: absolute;
    width: min(82vw, 32rem);
    top: calc(50% - clamp(5rem, 9vh, 6.25rem));
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    color: #fcfcfc;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: clamp(1rem, 1.6vw, 1.35rem);
    font-weight: 300;
    letter-spacing: .08em;
    line-height: 1.45;
    text-align: center;
    text-transform: uppercase;
    z-index: 3;
    pointer-events: none;
    transition: opacity 320ms ease;
}

.presa-section-5.is-final .presa-s5-scroll-hint {
    opacity: 0;
}

.presa-s5-stage {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    padding: clamp(1rem, 4vw, 3rem);
    pointer-events: none;
}

.presa-s5-word-stack {
    position: relative;
    width: min(82vw, 48rem);
    min-height: clamp(8rem, 24vh, 14rem);
}

.presa-s5-scroll-item {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 100%;
    transform: translate3d(-50%, -50%, 0);
    opacity: 0;
    color: #d4bca2;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: clamp(1.7rem, 4.2vw, 3.75rem);
    font-weight: 300;
    line-height: 1.12;
    text-align: center;
    text-transform: uppercase;
    will-change: transform, opacity, filter;
    margin: 0;
}

.presa-s5-scroll-item.presa-s5-is-title {
    width: min(90vw, 70rem);
    font-size: clamp(1.85rem, 4.6vw, 4.2rem);
}

.presa-s5-word,
.presa-s5-scroll-item.presa-s5-is-title .presa-s5-word,
.presa-s5-line-answer {
    display: inline-block;
    white-space: nowrap;
}

.presa-s5-line {
    display: block;
}

.presa-s5-char {
    color: #d4bca2;
    display: inline-block;
    opacity: 0;
    transform: translate3d(0, -1.75rem, 0) scale(1.04);
    filter: blur(.8rem);
    will-change: transform, opacity, filter;
}

.presa-s5-line-answer .presa-s5-char {
    color: #fcfcfc;
}

.presa-s5-down-arrow {
    display: block;
    width: clamp(2rem, 4.2vw, 2.75rem);
    height: clamp(2rem, 4.2vw, 2.75rem);
    margin: clamp(1.15rem, 2.8vw, 1.85rem) auto 0;
    opacity: 0;
    color: #fcfcfc;
}

.presa-s5-down-arrow svg {
    display: block;
    width: 100%;
    height: 100%;
}

.presa-s5-scroll-item.presa-s5-is-title.is-visible .presa-s5-down-arrow {
    opacity: .9;
    animation: presaS5ArrowPulse 1.6s ease-in-out infinite;
}

.presa-s5-side-progress {
    position: absolute;
    top: 50%;
    right: clamp(1.2rem, 3vw, 2.8rem);
    z-index: 3;
    display: grid;
    gap: clamp(.65rem, 1.5vh, 1rem);
    transform: translateY(-50%);
    pointer-events: none;
}

.presa-s5-progress-step {
    width: clamp(.24rem, .38vw, .34rem);
    height: clamp(1.65rem, 4.2vh, 2.45rem);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(212,188,162,.32), rgba(122,87,59,.32));
    transition: background 360ms ease, box-shadow 360ms ease, transform 360ms ease;
}

.presa-s5-progress-step.is-active {
    background: linear-gradient(180deg, #d4bca2, #7a573b);
    box-shadow: 0 0 .75rem rgba(212,188,162,.78), 0 0 1.25rem rgba(122,87,59,.5);
    transform: scaleY(1.18);
}

@keyframes presaS5ArrowPulse {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { opacity: .58; transform: translate3d(0, .45rem, 0); }
}

@media (max-width: 767px) {
    .presa-s5-stage { padding: 1.2rem 2.35rem 1.2rem 1.65rem; }
    .presa-s5-scroll-hint {
        width: min(72vw, 22rem);
        top: calc(50% - 7.3rem);
        font-size: clamp(.86rem, 4.2vw, 1.05rem);
    }
    .presa-s5-word-stack { width: min(68vw, 22rem); min-height: 15rem; }
    .presa-s5-scroll-item { font-size: clamp(1.8rem, 8.8vw, 2.85rem); line-height: 1.28; }
    .presa-s5-scroll-item.presa-s5-is-title {
        width: min(78vw, 25rem);
        font-size: clamp(1.7rem, 8.2vw, 2.65rem);
        line-height: 1.32;
    }
    .presa-s5-side-progress { right: .95rem; gap: .48rem; }
    .presa-s5-progress-step { width: .26rem; height: 1.35rem; }
}

/* Short viewports (e.g. laptop windows under ~900px tall): the scroll-item
   text wraps to 2 lines and grows toward the section's vertical center,
   crowding the scroll-hint paragraph above it. Push the hint further up
   to restore breathing room without touching the scroll animation, which
   reads actual computed layout at runtime regardless of these offsets. */
@media (min-width: 768px) and (max-height: 899px) {
    .presa-s5-scroll-hint {
        top: calc(50% - clamp(7rem, 9vh, 8.5rem));
    }
}

/* =================================================================
 * SECTION 6 — Mobile-first
 * Directly sticky in page scroll (no wrapper) — stays stuck for the
 * entire remaining page depth so section 7 can slide over it.
 * Desktop gap is controlled by margin-top on section 7.
 * ================================================================= */
.presa-section-6 {
    position: sticky;
    top: var(--presa-nav-height);
    z-index: 7;
    height: calc(100svh - var(--presa-nav-height));
    background-image: url('/assets/prese-slide/mob/lila-siva-presa-bg-mob.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Mobile: title at top-left */
.presa-section-6__title {
    position: absolute;
    top: 135px;
    left: 32px;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 76px;
    line-height: 61.13px;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
}

/* =================================================================
 * SECTION 7 — Frosted glass: #000000CC bg + backdrop-filter blur
 * Mobile-first: column layout (content → images)
 * Desktop: row layout (images left | content right)
 * ================================================================= */
.presa-section-7 {
    position: relative;
    z-index: 8;
    height: auto;
    min-height: calc(100svh - var(--presa-nav-height));
    background: #000000CC;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    overflow: visible; /* .presa-section-7__title bleeds above */
    display: flex;
    flex-direction: column;
}

/* "Ozon prese za kosu" scrolling title: desktop only, above section 7 */
.presa-section-7__title {
    display: none;
}

/* Inner: fills section, column on mobile */
.presa-s7-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Mobile: content first */
.presa-s7-content {
    flex-shrink: 0;
    padding: 70px 30px 0;
    box-sizing: border-box;
}

.presa-s7-heading {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 64px;
    line-height: 61px;
    letter-spacing: 0;
    text-transform: uppercase;
    background: linear-gradient(180deg, #D4BCA2 0%, #7A573B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 30px 0;
}

.presa-s7-subtitle {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    color: #fff;
    margin: 0;
}

/* Mobile: images below subtitle, side by side, fixed height */
.presa-s7-images {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    height: 600px;
    flex-shrink: 0;
    margin-top: 30px;
    padding: 0 16px;
    box-sizing: border-box;
}

.presa-s7-images picture {
    display: flex;
    align-items: flex-end;
    flex: 0 1 44%;
    height: 100%;
}

.presa-s7-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
}

/* ---- Section 6 desktop ---- */
@media (min-width: 992px) {
    .presa-section-6 {
        background-image: url('/assets/prese-slide/desk/lila-siva-presa-bg.jpg');
    }
    .presa-section-6__title {
        display: none;
    }
}

/* ---- Section 7 desktop: margin-top creates scroll gap after
        section 6 sticks so the title never appears before sticking ---- */
@media (min-width: 992px) {
    .presa-section-7 {
        margin-top: calc(100svh - var(--presa-nav-height));
    }
}

/* ---- Section 7 desktop ---- */
@media (min-width: 992px) {
    /* "Ozon prese za kosu" rides 700px above section 7's top */
    .presa-section-7__title {
        display: block;
        position: absolute;
        top: -700px;
        left: 16rem;
        font-family: 'Roboto Condensed', sans-serif;
        font-weight: 700;
        font-size: 147.1px;
        line-height: 119.64px;
        letter-spacing: 0;
        text-transform: uppercase;
        color: #fff;
        text-align: left;
        margin: 0;
        pointer-events: none;
    }

    /* Row layout */
    .presa-s7-inner {
        flex-direction: row;
    }

    /* Left 50%: pinned to the section's own bottom edge via absolute
       positioning (section is the nearest positioned ancestor) instead of
       a separately-computed calc(100svh - nav) height that has to
       coincidentally match the section's actual rendered height — that
       match broke at smaller resolutions / non-100% display scaling,
       leaving a gap above the section bottom. */
    .presa-s7-images {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 50%;
        height: calc(100svh - var(--presa-nav-height));
        padding: 70px 0 0 0;
        box-sizing: border-box;
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
        gap: 0;
    }

    .presa-s7-images picture {
        flex: 0 1 auto;
        height: 100%;
        display: flex;
        align-items: flex-end;
        overflow: visible;
    }

    .presa-s7-img {
        height: 100%;
        width: auto;
    }

    /* Right 50%: title + subtitle, vertically centred. Images are now
       absolutely positioned (out of flow), so push content into the
       right half manually. */
    .presa-s7-content {
        flex: 0 0 50%;
        margin-left: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0 60px;
        box-sizing: border-box;
    }

    .presa-s7-heading {
        font-size: 140px;
        line-height: 133px;
        margin: 0 0 30px 0;
    }
}

/* =================================================================
 * SECTION 8 — Benefits grid — Mobile-first
 * Normal scroll, no sticky. z-index: 8 so it paints above s6/s7.
 * ================================================================= */
.presa-section-8 {
    position: relative;
    z-index: 9;
    background: #F5EAEA;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 64px;
}

/* Desktop SVG: hidden on mobile */
.presa-s8-drawing {
    display: none;
}

/* Title — mobile */
.presa-s8-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    font-size: 35px;
    line-height: 35px;
    letter-spacing: 0;
    text-align: center;
    text-transform: uppercase;
    color: #7B583C;
    margin: 0;
}

/* Mobile drawing: between title and grid */
.presa-s8-drawing-mob {
    display: block;
    width: calc(100% - 10px);
    height: auto;
    margin: 40px 5px;
}

/* Grid: 3 rows × 2 columns on mobile */
.presa-s8-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
    row-gap: 40px;
    padding: 0 40px 60px;
    box-sizing: border-box;
    width: 100%;
}

.presa-s8-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.presa-s8-icon {
    display: block;
    max-width: 100%;
    height: auto;
}

.presa-s8-text {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 19px;
    letter-spacing: 0;
    text-align: center;
    text-transform: uppercase;
    color: #7B583C;
    margin: 0;
}

/* ---- Section 8 desktop ---- */
@media (min-width: 992px) {
    .presa-section-8 {
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
        padding: 0;
    }

    /* SVG on the left, margins define section height */
    .presa-s8-drawing {
        display: block;
        flex-shrink: 0;
        width: auto;
        height: auto;
        margin: 130px 80px 80px 80px;
    }

    /* Mobile drawing hidden on desktop */
    .presa-s8-drawing-mob {
        display: none;
    }

    /* Content column: natural width, starts at same top as drawing */
    .presa-s8-content {
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding-top: 130px;
    }

    /* Title — desktop */
    .presa-s8-title {
        font-size: 71px;
        line-height: 72px;
        text-align: left;
        margin: 0 0 50px 0;
    }

    /* Grid: 2 rows × 3 columns, fixed 175px columns */
    .presa-s8-grid {
        grid-template-columns: repeat(3, 175px);
        column-gap: 40px;
        row-gap: 45px;
        padding: 0 0 80px 0;
        width: auto;
    }

    .presa-s8-item {
        width: 175px;
    }

    .presa-s8-icon {
        max-width: 100%;
        height: auto;
    }
}

/* ── Mobile: suppress layout <br> tags in paragraphs ──────────────────
 * Desktop <br> elements control line breaks to match a fixed-width layout.
 * On mobile the viewport is narrower and text should wrap naturally.
 * Only paragraph-level breaks are hidden; heading <br> tags that produce
 * an intentional stacked/word-per-line visual effect are left untouched.
 * ────────────────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
    /* Suppress layout <br> tags in paragraphs — let text wrap naturally */
    .presa-hero__tagline br,
    .presa-section-2__para br,
    .presa-section-4__para br,
    .presa-s7-subtitle br {
        display: none;
    }

    /* Push the word-stack center ~18% lower so the scroll hint ("Sigurno
     * ste se zapitali bar jednom") above it never overlaps with 4+ line
     * sentences. Even a 6-line sentence keeps ~200px clearance. */
    .presa-s5-stage {
        padding-top: 18%;
    }
}
