:root {
    --color-bg: #f5f7fb;
    --color-surface: #ffffff;
    --color-primary: #0b63ce;
    --color-primary-soft: #e4efff;
    --color-accent: #00b894;
    --color-text-main: #123047;
    --color-text-muted: #62748a;
    --radius-lg: 16px;
    --shadow-soft: 0 18px 45px rgba(15, 35, 75, 0.08);
    --shadow-hover: 0 22px 60px rgba(13, 27, 62, 0.16);
}

/* základ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--color-bg);
    color: var(--color-text-main);
    padding-top: 72px; /* prostor pod fixním headerem */
}

@media (max-width: 767px) {
    body {
        padding-top: 64px;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* HEADER -------------------------------------------------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: none;
    backdrop-filter: blur(10px);
    transition:
        box-shadow 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

/* stav po scrollu */
.site-header--scrolled {
    box-shadow: 0 10px 30px rgba(15, 35, 75, 0.12);
    background: rgba(255, 255, 255, 0.97);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 1.6rem;
}

/* logo */

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    display: block;
    max-height: 56px;
    width: auto;
    object-fit: contain;
}

/* DESKTOP NAV ------------------------------------------- */

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    font-size: 0.95rem;
}

.main-nav .nav-link {
    position: relative;
    padding-bottom: 0.15rem;
    color: var(--color-text-main);
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.01em;
}

.main-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transition: width 0.22s ease-out;
}

.main-nav .nav-link:hover::after {
    width: 100%;
}

/* GLOW TOGGLE (desktop skrytý) --------------------------- */

.header-toggle {
    display: none;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.25rem 0.7rem;
    margin-left: 0.7rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    box-shadow:
        0 0 0 1px rgba(11, 99, 206, 0.16),
        0 10px 25px rgba(11, 99, 206, 0.22);
    transition:
        box-shadow 0.22s ease,
        background 0.22s ease,
        transform 0.18s ease;
}

.header-toggle-dot {
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: #123047;
    box-shadow: 0 0 0 1px rgba(18, 48, 71, 0.06);
    transition:
        transform 0.22s ease,
        opacity 0.18s ease,
        background 0.22s ease;
}

.header-toggle-dot + .header-toggle-dot {
    margin-left: 4px;
}

/* otevřený stav – glow kapsle, žádný křížek */

.site-header--nav-open .header-toggle {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.7),
        0 14px 32px rgba(11, 99, 206, 0.45);
    transform: translateY(1px);
}

.site-header--nav-open .header-toggle-dot {
    background: #ffffff;
}

.site-header--nav-open .header-toggle-dot:nth-child(1) {
    transform: translateY(-2px) scale(0.9);
    opacity: 0.7;
}

.site-header--nav-open .header-toggle-dot:nth-child(2) {
    transform: scale(1.3);
}

.site-header--nav-open .header-toggle-dot:nth-child(3) {
    transform: translateY(2px) scale(0.9);
    opacity: 0.7;
}

/* OVERLAY pro blur pozadí na mobilu --------------------- */

.mobile-nav-backdrop {
    display: none; /* desktop neřeší */
}

/* jemné zúžení mezer na tablet */

@media (max-width: 959px) {
    .main-nav {
        gap: 1.2rem;
        font-size: 0.94rem;
    }
}

/* MOBILE NAV  ------------------------------------------- */

@media (max-width: 767px) {
    body {
        padding-top: 64px;
    }

    .header-inner {
        padding: 0.55rem 1rem;
    }

    .logo-image {
        max-height: 46px;
    }

    /* toggle se ukáže, nav přestavíme na dropdown */
    .header-toggle {
        display: inline-flex;
    }

    .main-nav {
        position: absolute;
        left: 0.85rem;
        right: 0.85rem;
        top: 100%;
        margin-top: 0.55rem;
        padding: 0.9rem 1.1rem 1.1rem;
        background: #ffffff;
        border-radius: 0 0 20px 20px; /* jen spodní rohy */
        box-shadow:
            0 20px 50px rgba(15, 35, 75, 0.32),
            0 0 0 1px rgba(255, 255, 255, 0.9);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.9rem;
        font-size: 1rem;

        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
        transition:
            opacity 0.22s ease,
            transform 0.22s ease;
        z-index: 110; /* nad overlayem */
    }

    .main-nav .nav-link {
        padding: 0.25rem 0;
        font-weight: 600;
    }

    /* backdrop s blur – přes celou stránku, ale header zůstane ostrý */
    .mobile-nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        top: 64px; /* aby header zůstal čistý */
        background: rgba(10, 22, 46, 0.25);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.22s ease;
        z-index: 90;
    }

    /* otevřený stav */
    .site-header--nav-open .main-nav {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .site-header--nav-open .mobile-nav-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    /* na mobilu nav už není vedle loga, tak ho na řádku neukazujeme
       (zobrazuje se až když je nav-open) */
    @supports (position: absolute) {
        .main-nav {
            /* schovat vizuálně, dokud neotevřeno */
        }
    }
}

/* HERO – jeden background pro všechny, cover + gradient závoj */


/* HERO – jeden background pro všechny, cover + gradient závoj */
.hero {
    padding: 4rem 0 3.5rem;
    color: var(--color-text-main);
    position: relative;
    overflow: hidden;

    background-image:
        linear-gradient(
            120deg,
            rgba(245, 247, 251, 0.55),
            rgba(230, 242, 255, 0.7)
        ),
        url("../img/hero_desktop.png"); /* použijeme jeden obrázek pro všechno */
    background-repeat: no-repeat, no-repeat;
    background-size: cover, cover;
    background-position: center, center;
}

/* mobil – trochu menší padding, víc místa pro obsah/CTA */
@media (max-width: 767px) {
    .hero {
        padding: 3.2rem 0 3.2rem;
        background-position: center top, center top;
    }
}



.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr); /* jen text, background řeší fotku */
    align-items: center;
    min-height: 340px;
}

.hero-text h1 {
    font-size: 2.3rem;
    line-height: 1.15;
    margin-bottom: 1rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.hero-text p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 34rem;
    text-shadow: 0 1px 6px rgba(255, 255, 255, 0.8);
}

/* TLAČÍTKA */

.hero-actions {
    margin-top: 1.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    transition:
        opacity 0.35s ease,
        transform 0.35s ease,
        max-height 0.35s ease,
        margin-top 0.35s ease;
    max-height: 120px;
}

.hero-actions.hero-actions--collapsed {
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    max-height: 0;
    margin-top: 0;
}

.btn {
    border-radius: 999px;
    padding: 0.7rem 1.4rem;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease,
        box-shadow 0.18s ease, border-color 0.2s ease;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background: #084f9f;
    border-color: #084f9f;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(11, 99, 206, 0.3);
}

.btn-secondary {
    background: #fff;
    color: var(--color-primary);
    border: 1px solid rgba(11, 99, 206, 0.4);
}

.btn-secondary:hover {
    background: var(--color-primary-soft);
    transform: translateY(-1px);
}

/* CTA pulz */

@keyframes ctaPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(11, 99, 206, 0.45);
        transform: translateY(0);
    }
    55% {
        box-shadow: 0 0 0 16px rgba(11, 99, 206, 0);
        transform: translateY(-1px);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(11, 99, 206, 0);
        transform: translateY(0);
    }
}

.btn-primary.cta-pulse {
    animation: ctaPulse 2.6s ease-out infinite;
}

/* SEKCE HLAVIČKY */

/* kontejner na rozbalený box */

#audience-dynamic-panel.hero-flow-visible {
    margin-top: 1.5rem;
    max-height: 1400px; /* dost místa i pro mobil, ale pořád animovatelný */
    opacity: 1;
    transform: translateY(0);
}

/* samotný hero box */

.hero-flow-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.6rem 1.8rem 1.8rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(11, 99, 206, 0.08);
}

.hero-flow-card h2 {
    margin-top: 0;
    margin-bottom: 0.6rem;
}

.hero-flow-card p {
    color: var(--color-text-muted);
    margin-top: 0;
}

/* seznam benefitů v boxu */

/* seznam benefitů v hero boxu */
.hero-flow-card .card-list {
    margin: 1rem 0 1.4rem;
    padding-left: 1.2rem;
    color: var(--color-text-main);
}

.hero-flow-card .card-list li {
    margin-bottom: 0.55rem;
}

/* první část bodu (před pomlčkou) – tučný titulek */
.card-point-title {
    display: inline-block;
    font-weight: 600;
    position: relative;
}

/* barevná linka pod titulkem */
.card-point-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.2rem;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transition: width 0.25s ease-out;
}

/* hover přes celý řádek => linka najede */
.hero-flow-card .card-list li:hover .card-point-title::after {
    width: 70%;
}

/* text za pomlčkou – světlejší, méně výrazný */
.card-point-body {
    display: inline;
    margin-left: 0.15rem;
    color: var(--color-text-muted);
    font-weight: 400;
}


/* CTA v boxu – shine efekt */

.hero-flow-card .panel-cta {
    position: relative;
    overflow: hidden;
}

.hero-flow-card .panel-cta::after {
    content: "";
    position: absolute;
    top: 0;
    left: -40%;
    width: 40%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.9) 40%,
        transparent 80%
    );
    transform: translateX(-100%);
    opacity: 0;
}

.hero-flow-card .panel-cta:hover::after {
    opacity: 1;
    transform: translateX(260%);
    transition: transform 0.6s ease-out, opacity 0.25s ease-out;
}

/* NOVÁ SEKCE INSIGHTS */

.section-insights {
    padding: 2.6rem 0 3.2rem;
}

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

.insight-card {
    --scroll-progress: 0; /* vyplní JS na mobilech */
    background: #ffffff;
    border-radius: 16px;
    padding: 1.6rem 1.7rem 1.8rem;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(11, 99, 206, 0.06);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

/* společné chování při aktivaci */

.insight-card:hover,
.insight-card.insight-active {
    box-shadow: var(--shadow-hover);
    transform: translateY(-6px) scale(1.015);
}

/* 1) DŮVĚRYHODNOST */

.insight-card--trust {
    background: #ffffff;
}

.insight-card--trust::before {
    content: "";
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at top left,
        rgba(11, 99, 206, 0.16),
        transparent 55%);
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    z-index: -1;
}

.insight-card--trust:hover::before,
.insight-card--trust.insight-active::before {
    opacity: 1;
    transform: scale(1.05);
}

.insight-card--trust h3 {
    position: relative;
}

.insight-card--trust h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.4rem;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transition: width 0.35s ease;
}

.insight-card--trust:hover h3::after,
.insight-card--trust.insight-active h3::after {
    width: 60%;
}

/* 2) KOMPLETNÍ SERVIS – vrstvy + progress bar */

.insight-card--service::before,
.insight-card--service::after {
    content: "";
    position: absolute;
    inset: 10px 12px;
    border-radius: 14px;
    background: #f3f6ff;
    box-shadow: 0 12px 28px rgba(15, 35, 75, 0.12);
    opacity: 0;
    transform: translate(0, 0);
    transition: opacity 0.35s ease, transform 0.35s ease;
    z-index: -1;
}

.insight-card--service::after {
    inset: 18px 20px;
    opacity: 0;
}

.insight-card--service:hover::before,
.insight-card--service.insight-active::before {
    opacity: 1;
    transform: translate(-8px, 10px);
}

.insight-card--service:hover::after,
.insight-card--service.insight-active::after {
    opacity: 0.9;
    transform: translate(8px, -6px);
}

/* progress line */

.insight-progress {
    margin-top: 1rem;
    width: 100%;
    height: 4px;
    border-radius: 999px;
    background: rgba(11, 99, 206, 0.08);
    overflow: hidden;
}

.insight-progress-bar {
    height: 100%;
    width: 18%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transition: width 0.55s ease-out;
}

/* desktop hover – na max */

.insight-card--service:hover .insight-progress-bar {
    width: 100%;
}

/* mobil – řízené scroll-progressem (0–1) */

.insight-card--service.insight-active .insight-progress-bar {
    width: calc(20% + 80% * var(--scroll-progress));
}

/* 3) DATA A VÝKON – mini graf */

.insight-visual--data {
    margin-bottom: 0.9rem;
}

.insight-graph {
    position: relative;
    height: 40px;
    display: flex;
    align-items: flex-end;
    gap: 4px;
}

.insight-graph .bar {
    flex: 1;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(180deg, #00c9a7, #0b63ce);
    transform-origin: bottom;
    transform: scaleY(0.15);
    opacity: 0.45;
    transition:
        transform 0.4s ease-out,
        opacity 0.35s ease-out;
}

.insight-graph .bar-1 { height: 40%; }
.insight-graph .bar-2 { height: 65%; }
.insight-graph .bar-3 { height: 90%; }
.insight-graph .bar-4 { height: 55%; }

/* desktop hover – plný růst grafu */

.insight-card--data:hover .bar {
    transform: scaleY(1);
    opacity: 1;
}

/* mobil / scroll – škálujeme podle progress */

.insight-card--data.insight-active .bar {
    transform: scaleY(calc(0.2 + 0.8 * var(--scroll-progress)));
    opacity: calc(0.5 + 0.5 * var(--scroll-progress));
}

/* titulek dat – zvýraznění */

.insight-card--data h3 {
    transition: color 0.25s ease;
}

.insight-card--data:hover h3,
.insight-card--data.insight-active h3 {
    color: var(--color-primary);
}

/* „Jak to funguje“ – full-width background + 3D step karty */

.section-how {
    position: relative;
    padding: 4rem 0 4rem;
    z-index: 0;
}

/* pozadí: fotka + závoj, vyšší a s cover, aby se nedeformovala */
/* -----------------------------------
   1) BLUR FOTKA
----------------------------------- */
.section-how::before {
    content: "";
    position: absolute;
    inset: 0;

    background: url("../img/how_it_works.png");
    background-size: cover;
    background-position: center top;

    filter: blur(3px);         /* ROZMAZÁNÍ */
    transform: scale(1.08);     /* kompenzace okrajů po blur */
    z-index: -2;
}

/* -----------------------------------
   2) GRADIENT OVERLAY (nezblurrovaný)
----------------------------------- */
.section-how::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        150deg,
        rgba(245, 247, 251, 0.55),
        rgba(230, 242, 255, 0.55)
    );

    z-index: -1;
}



/* obsah sekce nad pozadím */
.section-how .container {
    position: relative;
    z-index: 1;
}

/* header v kartě kvůli čitelnosti */
/* header „Jak to funguje“ – glass + 3D */
.section-how .section-header {
    /* stejně široké jako grid tří kroků = šířka .container */
    width: 100%;
    max-width: 1120px;                /* stejná max-width jako .container */
    margin: 0 auto 2.1rem;            /* zarovnání na střed */

    background: rgba(138, 179, 255, 0.685);
    border-radius: 18px;
    padding: 1.1rem 1.4rem 1.25rem;
    box-shadow: 0 18px 40px rgba(15, 35, 75, 0.22);
}


/* emboss efekt – nahoře highlight, dole jemnej stín */
.section-how .section-header::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -2px 4px rgba(15, 35, 75, 0.16);
    pointer-events: none;
}

/* nadpis – modrá sladěná s webem + lehký glow */
.section-how .section-header h2 {
    margin-bottom: 0.35rem;
    color: var(--color-primary);                  /* stejná modrá jako CTA */
    text-shadow: 0 2px 8px rgba(15, 35, 75, 0.35);
}

/* text pod nadpisem necháme neutrální, jen zarovnáme margin */
.section-how .section-header p {
    margin: 0;
}


/* grid kroků pod hero pozadím */
.section-how .how-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.7rem;
    margin-top: 1.6rem;
}

/* FROSTED / 3D KARTY – vyšší průhlednost + emboss hrany */
.section-how .how-step {
    position: relative;
    background: rgba(255, 255, 255, 0.3);  /* průhlednější */
    border-radius: 20px;
    padding: 1.6rem 1.7rem 1.7rem;
    box-shadow: 0 26px 55px rgba(15, 35, 75, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.9);
    overflow: hidden;
    cursor: default;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        background 0.22s ease;
}


/* emboss – horní highlight + spodní tieň */
.section-how .how-step::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -2px 4px rgba(15, 35, 75, 0.16);
    pointer-events: none;
}

/* jemný glow za kartou pro víc 3D */
.section-how .how-step::after {
    content: "";
    position: absolute;
    inset: 16px;
    border-radius: inherit;
    background: radial-gradient(circle at 20% 0,
        rgba(255, 255, 255, 0.9),
        transparent 60%);
    opacity: 0.35;
    pointer-events: none;
}

.section-how .how-step:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 32px 70px rgba(15, 35, 75, 0.32);
    border-color: rgba(11, 99, 206, 0.2);
}

/* badge 1/2/3 */
.section-how .how-step-number {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        background 0.22s ease;
}

.section-how .how-step:hover .how-step-number {
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 12px 26px rgba(11, 99, 206, 0.55);
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

/* texty v kartě */
.section-how .how-step h3 {
    margin-top: 0;
    margin-bottom: 0.6rem;
    transition: color 0.22s ease;
}

.section-how .how-step:hover h3 {
    color: var(--color-primary);
}
/* RESPONSIVE – karty pod sebou + mobilní „Jak to funguje“ */
@media (max-width: 767px) {
    .section-how {
        padding: 2.4rem 0 2.6rem;
    }

    /* pozadí: gradient + fotka přes celou výšku sekce až k footeru */
    .section-how::before {
        top: 0;                 /* pozadí jede od horní hrany sekce */
        bottom: 0;              /* až k footeru */
        height: auto;           /* žádná pevná výška */
        background:
            linear-gradient(
                150deg,
                rgba(245, 247, 251, 0.45),
                rgba(230, 242, 255, 0.48)
            ),
            url("../img/how_it_works.png");
        background-repeat: no-repeat, no-repeat;
        background-size: cover, cover;      /* fotka vyplní celou plochu */
        background-position: center top, center top;        
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
    }

    /* glass / 3D header – tvoje barva, jen doplněná o rámeček & blur */
    .section-how .section-header {
        margin-bottom: 1.6rem;
        padding: 1rem 1.1rem 1.15rem;
        border-radius: 20px;
        background: rgba(138, 179, 255, 0.685);
        box-shadow: 0 14px 34px rgba(15, 35, 75, 0.22);
        border: 1px solid rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        position: relative;
    }

    .section-how .section-header::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.95),
            inset 0 -2px 4px rgba(15, 35, 75, 0.16);
        pointer-events: none;
    }

    .section-how .section-header h2 {
        color: var(--color-primary);
        text-shadow: 0 2px 6px rgba(15, 35, 75, 0.3);
        font-size: 1.3rem;
        margin-bottom: 0.35rem;
    }

    /* grid kroků – pod sebou */
    .section-how .how-steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
        margin-top: 1.2rem;
    }

    /* karty – používám tvoje průhlednosti, jen sjednocený selektory */
    .section-how .how-step {
        max-width: 100%;
        margin: 0 auto;
        padding: 1.3rem 1.2rem 1.4rem;
        background: rgba(255, 255, 255, 0.85);
        box-shadow:
            0 18px 45px rgba(15, 35, 75, 0.08),
            inset 0 0 0 1px rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .section-how .how-step-number {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }

    .section-how .how-step h3 {
        font-size: 1rem;
    }

    .section-how .how-step p {
        font-size: 0.94rem;
        line-height: 1.45;
    }
}

/* obrázek v kroku – 16:9 placeholder, roztáhne box dolů */
.section-how .how-step-image {
    margin-top: 1rem;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
}

.section-how .how-step-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;     /* drží poměr stran */
    object-fit: cover;
}




/* scroll animace */

[data-animate] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* FOOTER – více sloupců */

.site-footer {
    padding: 2rem 0 2.2rem;
    background: #ffffff;
    border-top: 1px solid rgba(15, 35, 75, 0.06);
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.footer-columns {
    display: grid;
    grid-template-columns: 2fr 1.4fr 1.3fr;
    gap: 1.8rem;
    margin-bottom: 1.4rem;
}

.footer-col h4 {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    color: var(--color-text-main);
}

.footer-col p {
    margin: 0 0 0.3rem;
}

.footer-link {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    text-decoration: none;
    position: relative;
}

.footer-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--color-primary);
    transition: width 0.2s ease-out;
}

.footer-link:hover::after {
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid rgba(15, 35, 75, 0.06);
    padding-top: 0.8rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin: 0;
}

/* RESPONSIVE */

@media (max-width: 959px) {
    .insights-grid,
    .how-steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .logo-image {
        max-height: 40px;
    }

    .main-nav {
        gap: 0.8rem;
        font-size: 0.85rem;
    }

    .footer-columns {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* wrapper s blur backgroundem zarovnaný na šířku containeru */
.section-how {
    position: relative;
    overflow: hidden; /* zabrání úniku blur */
}

/* pozadí blur – PEVNÁ šířka jako container (1120px + paddingy) */
.section-how-bg {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    max-width: 1120px;       /* stejné jako container */
    height: 100%;
    transform: translateX(-50%);
    z-index: -2;

    background: url("../img/how_it_works.png") center top / cover no-repeat;

    filter: blur(3px);
}

/* gradient overlay nebo glow mezi pozadím a obsahem */
.section-how::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    max-width: 1120px;
    height: 100%;
    transform: translateX(-50%);
    z-index: -1;

    background: linear-gradient(
        150deg,
        rgba(245, 247, 251, 0.55),
        rgba(230, 242, 255, 0.55)
    );
}

