/* ==========================================================
   Stránka: Vybrané výsledky
   Samostatné styly pro vysledky.tpl
   ========================================================== */

:root {
    --results-blue: #2f63ba;
    --results-blue-dark: #173d7b;
    --results-orange: #e95314;
    --results-ink: #152438;
    --results-muted: #52616b;
    --results-line: #dce3e8;
    --results-soft: #eef5f8;
}

/* ==========================================================
   Hero
   Bez dekorativních šikmých linek: hero zůstává čisté.
   ========================================================== */

.section--results-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 49rem;
    padding: 8.8rem 0 12.5rem;
    background:
        radial-gradient(circle at 84% 30%, rgba(233, 83, 20, 0.10), transparent 25rem),
        radial-gradient(circle at 72% 62%, rgba(47, 99, 186, 0.10), transparent 30rem),
        linear-gradient(140deg, #ffffff 0%, #ffffff 53%, #f6f9fb 100%);
}


.results-hero {
    position: relative;
    z-index: 2;
    max-width: 75rem;
}

.results-hero__eyebrow,
.results-section-eyebrow,
.results-cta__eyebrow {
    margin: 0 0 1.2rem;
    color: var(--results-orange);
    font-size: 1.4rem;
    font-weight: 780;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
}

.results-hero h1 {
    max-width: 72rem;
    margin: 0 0 2.2rem;
    color: var(--results-ink);
    font-size: clamp(5.2rem, 6.2vw, 8.4rem);
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.results-hero__lead {
    max-width: 70rem;
    margin: 0;
    color: #24364a;
    font-size: 2.15rem;
    line-height: 1.5;
}

.results-hero__lead a {
    font-weight: 680;
}

.results-hero__proof {
    margin: 1.4rem 0 0;
    font-size: 2.05rem;
    line-height: 1.45;
}

.results-hero__proof span {
    padding: 0.12rem 0.42rem 0.2rem;
    color: #fff;
    background: var(--results-orange);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.results-hero__photo {
    position: absolute;
    z-index: 1;
    right: max(2rem, calc((100vw - 132rem) / 2 - 1rem));
    bottom: -3.2rem;
    width: clamp(35rem, 31vw, 49rem);
    pointer-events: none;
}

.results-hero__photo picture,
.results-hero__photo img {
    display: block;
    width: 100%;
    height: auto;
}

.results-hero__photo img {
    filter: drop-shadow(0 1.8rem 1.8rem rgba(0, 0, 0, 0.14));
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 88%, rgba(0, 0, 0, 0.82) 94%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 88%, rgba(0, 0, 0, 0.82) 94%, transparent 100%);
}

/* ==========================================================
   Výsledkové boxy
   ========================================================== */

.section--results-showcase {
    position: relative;
    z-index: 3;
    margin-top: -2.4rem;
    padding: 0 0 10rem;
}

.results-showcase {
    padding: 5rem 3.2rem 4rem;
    background: #fff;
    border: 1px solid rgba(21, 36, 56, 0.09);
    border-radius: 0.5rem;
    box-shadow: 0 2.2rem 4.6rem rgba(21, 36, 56, 0.11);
}

.results-showcase__header {
    max-width: 86rem;
    margin: 0 auto 4rem;
    text-align: center;
}

.results-showcase__header h2,
.results-reasons__header h2,
.results-cta h2 {
    margin: 0 0 1.3rem;
    color: var(--results-ink);
    font-size: 4.2rem;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.results-showcase__header p:last-child,
.results-reasons__header > p:last-child {
    max-width: 78rem;
    margin: 0 auto;
    color: var(--results-muted);
    font-size: 1.75rem;
    line-height: 1.6;
}

.results-cases {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.results-case {
    min-width: 0;
    padding: 0.8rem 2.8rem 0.4rem;
    border-right: 1px solid var(--results-line);
}

.results-case:last-child {
    border-right: 0;
}

.results-case__icon {
    display: flex;
    align-items: center;
    width: 5.5rem;
    height: 5.5rem;
    margin: 0 0 1.8rem;
    color: var(--results-blue);
}

.results-case__icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 4.2;
}

.results-case h3 {
    margin: 0 0 1.45rem;
    color: var(--results-blue);
    font-size: 2.1rem;
    font-weight: 760;
    letter-spacing: -0.02em;
    line-height: 1.28;
}

.results-case p {
    margin: 0;
    color: #253548;
    font-size: 1.55rem;
    line-height: 1.55;
}

.results-case strong {
    color: var(--results-blue);
    font-weight: 650;
}

/* ==========================================================
   Proč spolupracovat
   ========================================================== */

.section--results-reasons {
    padding: 10rem 0;
    background: var(--results-soft);
}

.results-reasons__header {
    max-width: 84rem;
    margin: 0 auto 4.4rem;
    text-align: center;
}

.results-reasons__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.8rem;
}

.results-reason {
    position: relative;
    overflow: hidden;
    padding: 3.4rem 3rem 3.2rem;
    background: #fff;
    border-top: 0.45rem solid var(--results-orange);
    box-shadow: 0 1.3rem 2.8rem rgba(21, 36, 56, 0.08);
}

.results-reason__number {
    position: absolute;
    top: 0.7rem;
    right: 1.4rem;
    color: rgba(47, 99, 186, 0.09);
    font-size: 7.8rem;
    font-weight: 850;
    letter-spacing: -0.08em;
    line-height: 1;
    pointer-events: none;
}

.results-reason h3 {
    position: relative;
    z-index: 1;
    max-width: 29rem;
    margin: 0 0 1.4rem;
    color: var(--results-blue-dark);
    font-size: 2.4rem;
    font-weight: 760;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.results-reason p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #354650;
    font-size: 1.58rem;
    line-height: 1.62;
}

.results-reason__source {
    margin-top: 1.5rem !important;
    padding-top: 1.35rem;
    border-top: 1px solid var(--results-line);
    font-size: 1.42rem !important;
}

.results-reason__source a {
    display: inline-block;
    margin-top: 0.65rem;
    font-weight: 720;
}

/* ==========================================================
   CTA
   ========================================================== */

.section--results-cta {
    padding: 8rem 0;
    background: #fff;
}

.results-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4rem;
    align-items: center;
    padding: 4.5rem 5rem;
    color: #fff;
    background:
        radial-gradient(circle at 85% 18%, rgba(47, 99, 186, 0.42), transparent 22rem),
        linear-gradient(120deg, #081a29, #102d43);
    box-shadow: 0 1.8rem 4rem rgba(21, 36, 56, 0.18);
}

.results-cta h2 {
    max-width: 84rem;
    color: #fff;
}

.results-cta p:last-child {
    max-width: 78rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.7rem;
    line-height: 1.6;
}

.results-cta .btn {
    flex-shrink: 0;
    max-width: 30rem;
    text-align: center;
}

/* ==========================================================
   Responsivní chování
   ========================================================== */

@media (max-width: 1199px) {
    .results-hero {
        max-width: 65rem;
    }

    .results-hero__photo {
        right: -1rem;
        width: 40rem;
    }

    .results-showcase {
        padding-right: 2rem;
        padding-left: 2rem;
    }

    .results-case {
        padding-right: 2.2rem;
        padding-left: 2.2rem;
    }
}

@media (max-width: 991px) {
    .section--results-hero {
        min-height: auto;
        padding-top: 14rem;
        padding-bottom: 11rem;
    }

    .results-hero {
        max-width: 72rem;
    }

    .results-hero__photo {
        display: none;
    }

    .results-cases {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 3.4rem;
    }

    .results-case:nth-child(2) {
        border-right: 0;
    }

    .results-case:nth-child(n + 3) {
        padding-top: 3.4rem;
        border-top: 1px solid var(--results-line);
    }

    .results-reasons__grid {
        grid-template-columns: 1fr;
    }

    .results-reason h3 {
        max-width: none;
    }

    .results-cta {
        grid-template-columns: 1fr;
        gap: 2.7rem;
    }
}

@media (max-width: 575px) {
    .section--results-hero {
        padding-top: 12rem;
        padding-bottom: 8.8rem;
    }

    .results-hero h1 {
        font-size: 5rem;
    }

    .results-hero__lead {
        font-size: 1.85rem;
    }

    .results-hero__proof {
        font-size: 1.78rem;
    }

    .section--results-showcase {
        margin-top: -2.4rem;
        padding-bottom: 7rem;
    }

    .results-showcase {
        padding: 3.4rem 2rem 1.2rem;
    }

    .results-showcase__header {
        margin-bottom: 3.1rem;
        text-align: left;
    }

    .results-showcase__header h2,
    .results-reasons__header h2,
    .results-cta h2 {
        font-size: 3rem;
    }

    .results-showcase__header p:last-child,
    .results-reasons__header > p:last-child {
        font-size: 1.6rem;
    }

    .results-cases {
        grid-template-columns: 1fr;
        row-gap: 0;
    }

    .results-case,
    .results-case:nth-child(n + 3) {
        padding: 2.6rem 0;
        border-top: 1px solid var(--results-line);
        border-right: 0;
    }

    .results-case:first-child {
        padding-top: 0;
        border-top: 0;
    }

    .results-case__icon {
        width: 4.9rem;
        height: 4.9rem;
        margin-bottom: 1.25rem;
    }

    .results-case h3 {
        font-size: 1.95rem;
    }

    .section--results-reasons {
        padding: 7rem 0;
    }

    .results-reasons__header {
        margin-bottom: 3rem;
        text-align: left;
    }

    .results-reason {
        padding: 2.8rem 2.2rem 2.6rem;
    }

    .results-reason h3 {
        max-width: 24rem;
        font-size: 2.15rem;
    }

    .results-reason__number {
        font-size: 6.5rem;
    }

    .section--results-cta {
        padding: 5.5rem 0;
    }

    .results-cta {
        padding: 3.2rem 2.4rem;
    }

    .results-cta .btn {
        width: 100%;
        max-width: none;
    }
}
