/* Styly pro landing pages (rocni-report.php a tematické stránky přes includes/landing.php) – navazuje na assets/css/style.css */

.gtm-noscript {
    display: none;
    visibility: hidden;
}

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/

.report-hero {
    height: auto;
    min-height: 100vh;
    padding: 130px 0 70px;
}

.report-hero .breadcrumb {
    background: transparent;
    font-size: 14px;
    margin-bottom: 18px;
    padding-left: 0;
}

.report-hero .breadcrumb a {
    color: #6c757d;
}

.report-hero .eyebrow {
    align-self: flex-start;
    background: var(--ss-orange-soft);
    border-radius: 999px;
    color: var(--ss-orange-text);
    display: inline-block;
    font-family: "Nunito", sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 18px;
    padding: 8px 14px;
}

.report-hero h1 {
    line-height: 1.15;
}

.report-hero h2 {
    font-size: 21px;
    line-height: 1.6;
}

.report-price-line {
    color: #343434;
    font-family: "Nunito", sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin: 24px 0 0;
}

.report-price-line strong {
    color: var(--ss-orange);
    font-family: "Poppins", sans-serif;
    font-size: 36px;
    font-weight: 600;
}

.report-hero .btn-get-started {
    margin-top: 20px;
}

.report-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 26px;
}

.report-trust span {
    color: #52627a;
    font-weight: 600;
}

.report-trust i {
    color: var(--ss-orange);
    margin-right: 6px;
}

.report-hero .hero-img {
    text-align: left;
}

.report-video {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 45px rgba(1, 41, 112, .14);
    padding: 12px;
}

.report-video video {
    background: #111;
    border-radius: 8px;
    display: block;
    width: 100%;
}

.report-video p {
    color: #6c757d;
    font-size: 14px;
    margin: 10px 4px 2px;
}

@media (max-width: 991px) {
    .report-hero {
        padding: 120px 0 60px;
    }
    .report-hero .hero-img {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .report-hero .eyebrow {
        align-self: center;
    }
    .report-hero .breadcrumb,
    .report-trust {
        justify-content: center;
    }
    .report-hero h2 {
        font-size: 18px;
    }
}

/*--------------------------------------------------------------
# Obecné prvky sekcí
--------------------------------------------------------------*/

.report-section-alt {
    background: #f6f9ff;
}

.report-section-warm {
    background: #fff7ef;
}

.report-lead {
    font-size: 18px;
    line-height: 1.7;
    margin: 0 auto 40px;
    max-width: 900px;
    text-align: center;
}

.btn-report {
    align-items: center;
    background: var(--ss-orange);
    border-radius: 4px;
    box-shadow: 0 5px 30px rgba(76, 94, 100, .4);
    color: var(--ss-on-orange);
    display: inline-flex;
    font-family: "Nunito", sans-serif;
    font-size: 16px;
    font-weight: 600;
    gap: 8px;
    justify-content: center;
    letter-spacing: 1px;
    padding: 15px 40px;
    transition: .5s;
}

.btn-report:hover,
.btn-report:focus {
    background: var(--ss-orange-hover);
    color: var(--ss-on-orange);
    text-decoration: none;
}

.btn-report i {
    font-size: 18px;
    transition: .3s;
}

.btn-report:hover i {
    transform: translateX(5px);
}

/*--------------------------------------------------------------
# Proč roční report (karty)
--------------------------------------------------------------*/

.report-problems .feature-box {
    background: #fff;
    border-radius: 4px;
}

.report-problems .feature-box h3 {
    align-items: center;
    display: flex;
    margin-bottom: 14px;
}

.report-problems .feature-box i {
    color: var(--ss-orange);
    background: var(--ss-orange-soft);
}

.report-problems .feature-box p {
    margin: 0;
}

/*--------------------------------------------------------------
# Co zjistíte
--------------------------------------------------------------*/

.report-insights .feature-icons {
    margin-top: 0;
}

.report-insights .feature-icons .content .icon-box p {
    color: #5f6b7a;
}

/*--------------------------------------------------------------
# Promo videa
--------------------------------------------------------------*/

.report-videos .service-box {
    align-items: center;
    background: #fff;
    display: flex;
    flex-direction: column;
    padding: 30px 24px;
}

.report-videos .service-box img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    width: 100%;
}

.report-videos .service-box h3 {
    font-size: 22px;
}

.report-videos .service-box p {
    flex: 1 1 auto;
    margin-bottom: 16px;
}

.service-video-button {
    align-items: center;
    background: rgba(255, 159, 67, .08);
    border: 1px solid rgba(255, 159, 67, .24);
    border-radius: 8px;
    color: var(--ss-orange-text);
    display: inline-flex;
    font-size: 15px;
    font-weight: 700;
    gap: 8px;
    justify-content: center;
    line-height: 1.2;
    margin-top: auto;
    padding: 9px 14px;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.service-video-button:hover,
.service-video-button:focus {
    background: var(--ss-orange);
    border-color: var(--ss-orange);
    color: var(--ss-on-orange);
}

.services .service-box:hover .service-video-button {
    background: #fff;
    border-color: #fff;
    color: var(--ss-orange-text);
}

.service-video-button i {
    font-size: 19px;
    line-height: 1;
}

.service-video-modal video {
    aspect-ratio: 16 / 9;
    background: #111827;
    display: block;
    width: 100%;
}

.service-video-fallback {
    background: #fff7e6;
    color: #6b4f16;
    display: none;
    padding: 14px 16px;
}

.service-video-fallback.is-visible {
    display: block;
}

@media (max-width: 575.98px) {
    .service-video-button {
        width: 100%;
    }
}

/*--------------------------------------------------------------
# Jak to funguje
--------------------------------------------------------------*/

.report-steps .box {
    background: #fff;
}

.report-steps .box i {
    color: var(--ss-orange);
    display: block;
    font-size: 48px;
    line-height: 1;
    margin-bottom: 18px;
}

.report-steps .box h3 {
    font-size: 21px;
    margin-bottom: 12px;
}

.report-steps .box p {
    margin: 0;
}

/*--------------------------------------------------------------
# Cena
--------------------------------------------------------------*/

.report-price-copy h3 {
    color: #343434;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.report-price-copy p {
    font-size: 18px;
    line-height: 1.7;
}

.pricing .report-checklist {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    text-align: left;
}

.report-checklist li {
    font-size: 18px;
    margin-bottom: 14px;
    padding-left: 32px;
    position: relative;
}

.report-checklist i {
    color: var(--ss-orange);
    left: 0;
    position: absolute;
    top: 1px;
}

.pricing .box.report-price-box {
    border-top: 3px solid var(--ss-orange);
}

.pricing .box.report-price-box h3 {
    color: var(--ss-orange);
}

.pricing .box.report-price-box:hover {
    transform: scale(1.04);
}

.pricing .featured.report-featured {
    font-size: 13px;
    font-weight: 700;
}

/*--------------------------------------------------------------
# Závěrečná výzva
--------------------------------------------------------------*/

.report-cta {
    background: url(../img/hero-bg.png) center center no-repeat;
    background-size: cover;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
    padding: 56px 28px;
    text-align: center;
}

.report-cta h2 {
    color: #343434;
    font-size: 34px;
    font-weight: 700;
    margin: 0 auto 16px;
    max-width: 820px;
}

.report-cta p {
    font-size: 18px;
    line-height: 1.7;
    margin: 0 auto 10px;
    max-width: 780px;
}

.report-cta .report-price-line {
    margin: 0 0 24px;
}

@media (max-width: 768px) {
    .report-cta h2 {
        font-size: 26px;
    }
}

/*--------------------------------------------------------------
# Mobilní lišta s výzvou
--------------------------------------------------------------*/

.sticky-mobile {
    display: none;
}

@media (max-width: 767px) {
    .sticky-mobile {
        bottom: 12px;
        display: block;
        left: 12px;
        position: fixed;
        right: 12px;
        z-index: 996;
    }
    .sticky-mobile .btn-report {
        padding: 14px 20px;
        width: 100%;
    }
    .back-to-top {
        bottom: 84px;
    }
    .footer {
        padding-bottom: 80px;
    }
}

/*--------------------------------------------------------------
# Tematické landing pages
--------------------------------------------------------------*/

.lp-insight-img {
    border-radius: 12px;
}

.pricing h3.pricing-title-free {
    color: var(--ss-orange);
}

.pricing h3.pricing-title-standard {
    color: var(--ss-orange);
}

.pricing h3.pricing-title-profi {
    color: var(--ss-orange);
}

.pricing .featured.featured-small {
    font-size: 60% !important;
    font-weight: bold !important;
}

.lp-pricing-note {
    margin: 36px 0 0;
    text-align: center;
}

.report-videos .service-box h3 a {
    color: inherit;
}

.report-videos .service-box h3 a:hover {
    color: var(--ss-orange-text);
    text-decoration: none;
}

.lp-topic-img {
    display: block;
    width: 100%;
}

.lp-topic-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    justify-content: center;
    margin-top: auto;
}

.lp-topic-link {
    font-weight: 700;
}

.lp-topic-link i {
    transition: .3s;
}

.lp-topic-link:hover i {
    transform: translateX(4px);
}

.report-cta .lp-cta-note {
    color: #6c757d;
    font-size: 15px;
    margin-bottom: 24px;
}
/*--------------------------------------------------------------
# Heureka report (includes/heureka-landing.php – varianty A i B jsou vizuálně shodné)
# Sekce má třídu .hero jako úvodní stránka, takže nadpis (h1) a podnadpis (h2) mají
# stejný styl jako na úvodní stránce. Video má stejnou šířku jako řada dlaždic platforem.
--------------------------------------------------------------*/

.hero.heureka-hero {
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 80px 0 14px;
}

.heureka-hero > .container {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
}

.heureka-intro {
    flex: none;
    text-align: center;
}

.heureka-intro h1 {
    line-height: 1.2;
}

/* Video stejně široké jako řada dlaždic (.heureka-platforms) */
.heureka-video {
    flex: none;
    margin: 0 auto;
    max-width: 1080px;
    width: 100%;
}

.heureka-video video {
    aspect-ratio: 16 / 9;
    background: #111;
    border-radius: 10px;
    box-shadow: 0 15px 45px rgba(1, 41, 112, .14);
    display: block;
    width: 100%;
}

.heureka-video video::cue {
    background: rgba(0, 0, 0, .75);
    color: #fff;
    font-family: "Nunito", sans-serif;
    font-size: 20px;
    font-weight: 700;
}

/* Dlaždice platforem – vždy všechny 4 v jedné řadě: velké logo + jasná výzva k instalaci */
.heureka-install {
    flex: none;
}

.heureka-install-title {
    color: #343434;
    font-family: "Nunito", sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px;
    text-align: center;
}

.heureka-platforms {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 1080px;
}

.heureka-platform {
    background: #fff;
    border: 2px solid #e6ebf3;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(1, 41, 112, .08);
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 10px 12px;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.heureka-platform:hover,
.heureka-platform:focus-visible {
    border-color: var(--ss-orange);
    box-shadow: 0 10px 30px rgba(255, 159, 67, .25);
    transform: translateY(-3px);
}

.heureka-platform-logo {
    align-items: center;
    display: flex;
    height: 46px;
    justify-content: center;
}

.heureka-platform-logo img {
    height: 38px;
    max-width: 100%;
    object-fit: contain;
    width: auto;
}

/* Tmavší oranžová kvůli kontrastu bílého textu (4,9 : 1, WCAG AA) */
.heureka-platform-cta {
    align-items: center;
    background: var(--ss-orange);
    border-radius: 8px;
    color: var(--ss-on-orange);
    display: flex;
    font-family: "Nunito", sans-serif;
    font-size: 16px;
    font-weight: 700;
    gap: 8px;
    justify-content: center;
    padding: 9px 10px;
    transition: background .2s;
    white-space: nowrap;
}

.heureka-platform-cta i {
    font-size: 18px;
    transition: transform .2s;
}

.heureka-platform:hover .heureka-platform-cta,
.heureka-platform:focus-visible .heureka-platform-cta {
    background: var(--ss-orange-hover);
}

.heureka-install-note {
    color: #4f5868;
    font-size: 14px;
    margin: 10px 0 0;
    text-align: center;
}

.heureka-install-note a {
    color: var(--ss-orange-text);
    font-weight: 700;
}

.heureka-platform:hover .heureka-platform-cta i {
    transform: translateX(4px);
}

/* Desktop: šířka videa podle výšky okna (i s cookie lištou), aby se dlaždice s instalací vešly na první obrazovku */
@media (min-width: 769px) {
    .heureka-video {
        max-width: min(1080px, max(480px, calc((100vh - 440px - var(--cookie-bar, 0px)) * 16 / 9)));
    }
}

/* Užší obrazovky: kratší text tlačítka („Instalovat“), platformu ukazuje logo */
@media (max-width: 991px) {
    .heureka-platform-cta-long {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero.heureka-hero {
        padding: 72px 0 10px;
    }
    .heureka-hero > .container {
        gap: 10px;
    }
    .heureka-video video::cue {
        font-size: 14px;
    }
    .heureka-install-title {
        font-size: 16px;
        margin-bottom: 8px;
    }
    .heureka-platforms {
        gap: 6px;
    }
    .heureka-platform {
        border-radius: 10px;
        gap: 6px;
        padding: 8px 4px 6px;
    }
    .heureka-platform-logo {
        height: 26px;
    }
    .heureka-platform-logo img {
        height: 22px;
    }
    .heureka-platform-cta {
        border-radius: 6px;
        font-size: 12px;
        padding: 7px 2px;
    }
    .heureka-platform-cta i {
        display: none;
    }
    .heureka-install-note {
        font-size: 12px;
        margin-top: 6px;
    }
    /* Kompaktní cookie lišta při spodním okraji (iPhone používá plovoucí variantu cc-floating) */
    body .cc-window.cc-floating,
    body .cc-window.cc-banner {
        align-items: center;
        border-radius: 0;
        bottom: 0;
        flex-direction: row;
        font-size: 12px;
        left: 0;
        line-height: 1.4;
        max-width: none;
        padding: 8px 12px;
        right: 0;
    }
    body .cc-window .cc-message {
        flex: 1 1 auto;
        margin: 0 10px 0 0;
    }
    body .cc-window .cc-compliance {
        flex: 0 0 auto;
    }
    body .cc-window .cc-btn {
        font-size: 12px;
        padding: 6px 12px;
    }
}

@media (max-width: 360px) {
    .heureka-platform-logo img {
        height: 18px;
    }
    .heureka-platform-cta,
    body .cc-window.cc-floating,
    body .cc-window.cc-banner,
    body .cc-window .cc-btn {
        font-size: 11px;
    }
}

/* Nízké telefony (iPhone SE): menší nadpisy, aby se vše vešlo bez scrollování */
@media (max-width: 768px) and (max-height: 620px) {
    .hero.heureka-hero h1 {
        font-size: 24px;
    }
    .hero.heureka-hero h2 {
        font-size: 17px;
        margin-top: 6px;
    }
    .heureka-install-title,
    .heureka-install-note {
        display: none;
    }
}

/*--------------------------------------------------------------
# Heureka report – sekce pod první obrazovkou (co uvidíte, jak to funguje, cena, FAQ)
--------------------------------------------------------------*/

.heureka-section {
    padding: 80px 0;
    scroll-margin-top: 80px;
}

#instalace {
    scroll-margin-top: 90px;
}

.heureka-section-alt {
    background: #f6f9ff;
}

.heureka-head {
    margin: 0 auto 40px;
    max-width: 820px;
    text-align: center;
}

.heureka-kicker {
    color: var(--ss-orange-text);
    font-family: "Nunito", sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 0;
    text-transform: uppercase;
}

.heureka-head h2,
.heureka-price h2,
.heureka-faq-title {
    color: #343434;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
    margin: 10px 0 0;
}

.heureka-head p:not(.heureka-kicker) {
    color: #4f5868;
    font-size: 18px;
    line-height: 1.6;
    margin: 16px 0 0;
}

.heureka-shot {
    margin: 0;
}

.heureka-shot img {
    display: block;
    height: auto;
    width: 100%;
}

.heureka-shot figcaption {
    color: #4f5868;
    font-size: 14px;
    text-align: center;
}

.heureka-list-title {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .5px;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.heureka-checklist {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
}

.heureka-checklist li {
    display: flex;
    gap: 10px;
    padding: 5px 0;
}

.heureka-checklist i {
    color: var(--ss-orange);
    flex: none;
}

.heureka-steps {
    list-style: none;
    margin: 0;
    padding: 0;
}

.heureka-card {
    background: #fff;
    border: 1px solid #e6eaf1;
    border-radius: 12px;
    height: 100%;
    padding: 28px;
}

.heureka-step-number {
    align-items: center;
    background: var(--ss-orange-soft);
    border-radius: 50%;
    color: var(--ss-orange-text);
    display: inline-flex;
    font-family: "Nunito", sans-serif;
    font-size: 20px;
    font-weight: 800;
    height: 48px;
    justify-content: center;
    width: 48px;
}

.heureka-card h3 {
    font-size: 21px;
    font-weight: 800;
    margin: 16px 0 10px;
}

.heureka-card p {
    color: #4f5868;
    margin: 0;
}

.heureka-price {
    background: #fff7ef;
    border-radius: 12px;
    padding: 32px;
}

.heureka-price-amount {
    color: #343434;
    font-family: "Poppins", sans-serif;
    font-size: 36px;
    font-weight: 600;
    margin: 16px 0 20px;
}

.heureka-price-amount span {
    color: #4f5868;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
}

.heureka-faq-title {
    margin: 0 0 16px;
}

.heureka-btn {
    align-items: center;
    background: var(--ss-orange);
    border-radius: 4px;
    box-shadow: 0 5px 24px rgba(255, 159, 67, .25);
    color: var(--ss-on-orange);
    display: inline-flex;
    font-family: "Nunito", sans-serif;
    font-size: 16px;
    font-weight: 700;
    gap: 8px;
    justify-content: center;
    min-height: 48px;
    padding: 12px 28px;
    transition: background .3s;
}

.heureka-btn:hover,
.heureka-btn:focus {
    background: var(--ss-orange-hover);
    color: var(--ss-on-orange);
    text-decoration: none;
}

.heureka-btn:focus-visible,
.heureka-platform:focus-visible,
.heureka-navbar a:focus-visible {
    outline: 3px solid #343434;
    outline-offset: 2px;
}

.heureka-navbar .getstarted,
.heureka-navbar .getstarted:focus {
    background: var(--ss-orange);
    font-weight: 700;
}

.heureka-navbar .getstarted:hover,
.heureka-navbar .getstarted:focus:hover {
    background: var(--ss-orange-hover);
}

.heureka-final {
    background: #2b2e35;
}

.heureka-final .heureka-head h2 {
    color: #fff;
}

.heureka-final .heureka-head p:not(.heureka-kicker) {
    color: #d7dae0;
}

.heureka-final-note {
    color: #d7dae0;
    margin: 28px auto 0;
    max-width: 820px;
    text-align: center;
}

.heureka-final-note a {
    color: var(--ss-orange);
    font-weight: 700;
}

.heureka-sticky {
    display: none;
}

@media (max-width: 767px) {
    .heureka-section {
        padding: 56px 0;
    }
    .heureka-head h2,
    .heureka-price h2,
    .heureka-faq-title {
        font-size: 26px;
    }
    .heureka-head p:not(.heureka-kicker) {
        font-size: 16px;
    }
    .heureka-price {
        padding: 24px;
    }
    /* Lišta nad cookie lištou (--cookie-bar nastavuje skript v šabloně) */
    .heureka-sticky.is-visible {
        bottom: calc(12px + var(--cookie-bar, 0px));
        display: block;
        left: 12px;
        position: fixed;
        right: 12px;
        z-index: 996;
    }
    .heureka-sticky .heureka-btn {
        width: 100%;
    }
    .footer {
        padding-bottom: 80px;
    }
}
