/* Samostatná stránka /ako-to-funguje */

.ll-how-page {
    background: var(--ll-paper, #F7F3EC);
    color: var(--ll-ink, #132a1e);
}

/* reset legacy `section { padding: 4.5rem 0 5rem }` zo style.css */
.ll-how-page section {
    padding: 0;
    position: relative;
}

.ll-how-page .ll-band.ll-how-hero {
    padding: 2.5rem 0 1.5rem;
}

.ll-how-hero h1 {
    max-width: 14ch;
    margin: 0 0 0.75rem;
    font-family: var(--ll-display, inherit);
    font-size: clamp(1.85rem, 3.5vw, 2.4rem);
    font-weight: 700;
    line-height: 1.2;
    color: #132a1e;
}

.ll-how-hero .ll-hero-lead {
    margin: 0;
    max-width: 42rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--ll-muted, #6B756F);
}

/* rovnaká drobečka ako Kontakt */
.ll-how-page .ll-contact-crumb {
    margin: 0 0 1.15rem;
}

.ll-how-page .ll-contact-crumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.92rem;
    color: rgba(28, 40, 34, 0.62);
}

.ll-how-page .ll-contact-crumb li:not(:last-child)::after {
    content: "/";
    margin-left: 0.4rem;
    color: rgba(28, 40, 34, 0.4);
}

.ll-how-page .ll-contact-crumb a {
    color: var(--ll-meadow-ink, #145C38);
    font-weight: 600;
    text-decoration: none;
}

.ll-how-page .ll-contact-crumb a:hover,
.ll-how-page .ll-contact-crumb a:focus-visible {
    text-decoration: underline;
    outline: none;
}

.ll-how-page .ll-contact-crumb [aria-current="page"] {
    color: rgba(28, 40, 34, 0.62);
}

.ll-how-steps {
    padding: 2rem 0 3.5rem;
}

.ll-how-steps h2 {
    margin: 0 0 1.75rem;
    max-width: 28ch;
    font-family: var(--ll-display, inherit);
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    font-weight: 700;
    color: #132a1e;
}

.ll-how-steps__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
}

.ll-how-step {
    background: #fff;
    border: 1px solid var(--ll-line, #E4E0D8);
    border-radius: 8px;
    padding: 1.5rem 1.35rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.ll-how-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: #EEF6F1;
    color: #145C38;
    font-weight: 700;
    font-size: 0.95rem;
}

.ll-how-step h3 {
    margin: 0 0 0.55rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #132a1e;
}

.ll-how-step p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--ll-muted, #6B756F);
}

.ll-how-detail {
    padding: 2.5rem 0 3.5rem;
}

.ll-how-flow {
    padding: 2.5rem 0 3.5rem;
}

.ll-how-detail__inner {
    max-width: 960px;
    margin-top: 50px;
    padding-left: 0;
    padding-right: 0;
}

.ll-how-page .container.ll-how-detail__inner {
    padding-left: max(1.25rem, var(--bs-gutter-x, 0.75rem));
    padding-right: max(1.25rem, var(--bs-gutter-x, 0.75rem));
}

.ll-how-detail h2,
.ll-how-flow h2 {
    margin: 0 0 1.35rem;
    font-family: var(--ll-display, inherit);
    font-size: clamp(1.35rem, 2.4vw, 1.65rem);
    font-weight: 700;
    color: #132a1e;
}

.ll-how-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.ll-how-card {
    background: #fff;
    border: 1px solid var(--ll-line, #E4E0D8);
    border-radius: 8px;
    padding: 1.45rem 1.4rem;
}

.ll-how-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #132a1e;
}

.ll-how-card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--ll-muted, #6B756F);
}

.ll-how-checklist {
    margin: 0;
    padding: 0 !important; /* reset style.css ul, padding žije na li */
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

/* style.css má `ul li { padding: 0 }` — treba vyššiu specificity */
.ll-how-page ul.ll-how-checklist > li {
    margin: 0;
    padding: 1.15rem 1.4rem !important;
    background: #fff;
    border: 1px solid var(--ll-line, #E4E0D8);
    border-radius: 8px;
    line-height: 1.55;
    color: var(--ll-muted, #6B756F);
}

.ll-how-checklist strong {
    color: #132a1e;
}

.ll-how-cta {
    margin-top: 50px;
    padding: 0.75rem 0 5rem;
}

.ll-how-page .ll-how-cta > .container {
    padding-left: max(1.25rem, var(--bs-gutter-x, 0.75rem));
    padding-right: max(1.25rem, var(--bs-gutter-x, 0.75rem));
}

.ll-how-cta__box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.75rem;
    padding: 2.35rem 2.15rem !important;
    background: #132a1e;
    color: #fff;
    border-radius: 16px;
    box-shadow: 0 16px 32px rgba(19, 42, 30, 0.12);
}

.ll-how-cta__copy {
    flex: 1 1 260px;
    min-width: 0;
}

.ll-how-cta__copy h2 {
    margin: 0 0 0.55rem;
    font-size: 1.45rem;
    font-weight: 700;
    color: #fff;
}

.ll-how-cta__copy p {
    margin: 0;
    max-width: 36rem;
    color: #e2e8f0;
    line-height: 1.55;
}

.ll-how-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

/* prebit !important z letna-luka.css — čitateľnosť na tmavom CTA */
.ll-how-cta__actions .ll-btn {
    background: #c7f000 !important;
    color: #132a1e !important;
    border: 2px solid #c7f000 !important;
    font-weight: 700;
}

.ll-how-cta__actions .ll-btn:hover,
.ll-how-cta__actions .ll-btn:focus-visible {
    background: #d4f53a !important;
    color: #132a1e !important;
    border-color: #d4f53a !important;
    outline: none;
}

.ll-how-cta__actions .ll-btn--ghost {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.55) !important;
}

.ll-how-cta__actions .ll-btn--ghost:hover,
.ll-how-cta__actions .ll-btn--ghost:focus-visible {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-color: #fff !important;
}

.ll-how-agency-link {
    margin: 1.75rem 0 0;
    padding-bottom: 0.5rem;
    text-align: center;
    font-size: 0.95rem;
    color: var(--ll-muted, #6B756F);
}

.ll-how-agency-link a {
    color: var(--ll-meadow-ink, #145C38);
    font-weight: 650;
    text-decoration: none;
}

.ll-how-agency-link a:hover,
.ll-how-agency-link a:focus-visible {
    text-decoration: underline;
    outline: none;
}

@media (max-width: 900px) {
    .ll-how-steps__grid {
        grid-template-columns: 1fr;
    }

    .ll-how-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .ll-how-page .ll-band.ll-how-hero {
        padding: 1.75rem 0 1.25rem;
    }

    .ll-how-steps {
        padding-bottom: 2.5rem;
    }

    .ll-how-detail,
    .ll-how-flow {
        padding: 2rem 0 2.5rem;
    }

    .ll-how-cta {
        padding-bottom: 4rem;
    }

    .ll-how-cta__box {
        padding: 1.75rem 1.35rem;
        gap: 1.25rem;
    }

    .ll-how-cta__actions {
        width: 100%;
    }

    .ll-how-cta__actions .ll-btn {
        flex: 1 1 100%;
        justify-content: center;
        text-align: center;
    }
}
