/* O nás – príbehová landing (SEO + CRO)
   Hero odsadenie zhodné s /pre-agentury (ll-band + container) */

.ll-story-hero {
    /* style.css: header{position:absolute} – hero musí ostať v flow */
    position: relative;
    z-index: 1;
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
}

/* Inset hero – rovnaký dych ako ll-band na /pre-agentury */
.ll-story-hero-grid {
    display: grid;
    gap: 1.75rem;
    align-items: center;
}

.ll-story-hero h1 {
    max-width: 18ch;
    margin: 0 0 0.85rem;
}

.ll-story-hero .ll-hero-lead {
    max-width: 42ch;
    margin-bottom: 0;
}

.ll-story-hero-media {
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    background: var(--ll-paper, #F7F3EC);
    border: 0;
    box-shadow: none;
}

.ll-story-hero-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
}

/* Hero waitlist CTA – box ako ll-partner-form */
.ll-story-hero-cta {
    margin-top: 1.35rem;
    max-width: 34rem;
}

.ll-waitlist-form--compact {
    padding: 1.35rem;
    gap: 0.85rem;
    border-radius: 8px;
    background: var(--ll-white, #fff);
    border: 1px solid var(--ll-line, rgba(28, 40, 34, 0.12));
    box-shadow: 0 8px 22px rgba(28, 40, 34, 0.05);
}

.ll-waitlist-inline {
    display: grid;
    gap: 0.65rem;
}

.ll-waitlist-inline .ll-field--grow {
    margin: 0;
}

.ll-waitlist-inline input[type="email"] {
    width: 100%;
    min-height: 3rem;
    padding: 0.7rem 0.95rem;
    border: 1px solid rgba(28, 40, 34, 0.16);
    border-radius: 8px;
    background: #fff;
    font-size: 1rem;
}

.ll-waitlist-inline input[type="email"]:focus {
    outline: 3px solid rgba(31, 122, 77, 0.35);
    border-color: #1F7A4D;
}

.ll-waitlist-submit {
    width: 100%;
    min-height: 3rem;
    justify-content: center;
}

.ll-waitlist-consent--compact {
    font-size: 0.82rem;
    color: rgba(28, 40, 34, 0.7);
}

.ll-story-microcopy {
    margin: 0.7rem 0 0;
    font-size: 0.88rem;
    line-height: 1.45;
    color: rgba(28, 40, 34, 0.68);
    max-width: 40ch;
}

.ll-story-partner-link {
    margin: 0.75rem 0 0;
}

.ll-story-partner-link a {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ll-meadow-ink, #163528);
    text-decoration: none;
    border-bottom: 1px solid rgba(22, 53, 40, 0.28);
}

.ll-story-partner-link a:hover,
.ll-story-partner-link a:focus-visible {
    border-bottom-color: #1F7A4D;
    color: #1F7A4D;
}

.ll-story-narrow {
    max-width: 42rem;
}

.ll-story-lead {
    max-width: 46ch;
    margin: 0 0 1.5rem;
    color: rgba(28, 40, 34, 0.78);
    font-size: 1.08rem;
    line-height: 1.55;
}

.ll-story-cta-lead {
    max-width: 42ch !important;
}

.ll-story-band--tint {
    background: linear-gradient(180deg, #F7F3EC 0%, #EAF3EC 100%);
}

.ll-story-split {
    display: grid;
    gap: 1.75rem;
    align-items: start;
}

.ll-story-points {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.85rem;
}

.ll-story-points li {
    padding: 1rem 1.1rem;
    border-radius: 8px;
    background: #fff;
    border: 1px solid rgba(28, 40, 34, 0.1);
    box-shadow: 0 6px 18px rgba(28, 40, 34, 0.05);
}

.ll-story-points strong {
    display: block;
    margin-bottom: 0.25rem;
    font-family: var(--ll-display);
    font-size: 1.15rem;
    color: #1C2822;
}

.ll-story-points span {
    color: rgba(28, 40, 34, 0.75);
    line-height: 1.45;
}

.ll-story-cards {
    display: grid;
    gap: 1rem;
}

.ll-story-card {
    padding: 1.25rem 1.3rem;
    border-radius: 8px;
    background: #fff;
    border: 1px solid rgba(28, 40, 34, 0.1);
    box-shadow: 0 8px 22px rgba(28, 40, 34, 0.06);
}

.ll-story-card h3 {
    margin: 0 0 0.85rem;
    font-family: var(--ll-display);
    font-size: 1.15rem;
    font-weight: 700;
}

.ll-story-card ul {
    margin: 0;
    padding-left: 1.15rem;
}

.ll-story-card li + li {
    margin-top: 0.4rem;
}

.ll-story-checks {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.55rem;
}

.ll-story-checks li {
    position: relative;
    display: grid;
    grid-template-columns: 1.35rem 1fr;
    gap: 0.65rem;
    align-items: start;
    margin: 0;
    padding: 0;
    color: rgba(28, 40, 34, 0.82);
    line-height: 1.4;
    font-size: 0.95rem;
}

.ll-story-checks li::before {
    content: "";
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.1rem;
    border-radius: 4px;
    background: #EAF6EF;
    border: 1.5px solid var(--ll-meadow, #1F7A4D);
    box-shadow: inset 0 0 0 0 transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%231F7A4D' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.2l2.8 2.8 6.2-6.2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0.75rem;
}

.ll-story-steps {
    margin: 1.25rem 0 1.5rem;
    padding: 0;
    list-style: none;
    counter-reset: story-step;
    display: grid;
    gap: 1rem;
}

.ll-story-steps li {
    position: relative;
    padding: 1.1rem 1.15rem 1.15rem 3.4rem;
    border-radius: 8px;
    background: #fff;
    border: 1px solid rgba(28, 40, 34, 0.1);
    box-shadow: 0 6px 18px rgba(28, 40, 34, 0.05);
    counter-increment: story-step;
}

.ll-story-steps li::before {
    content: counter(story-step);
    position: absolute;
    left: 1rem;
    top: 1.05rem;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: #163528;
    color: #F7F3EC;
    font-size: 0.9rem;
    font-weight: 700;
    display: grid;
    place-items: center;
}

.ll-story-steps strong {
    display: block;
    margin-bottom: 0.35rem;
    font-family: var(--ll-display);
    font-size: 1.2rem;
}

.ll-story-steps p {
    margin: 0;
    color: rgba(28, 40, 34, 0.75);
    line-height: 1.5;
}

.ll-story-values {
    display: grid;
    gap: 1.25rem;
}

.ll-story-value {
    padding: 1.25rem 1.25rem 1.35rem;
    border-radius: 8px;
    background: #fff;
    border: 1px solid rgba(28, 40, 34, 0.1);
    box-shadow: 0 6px 18px rgba(28, 40, 34, 0.05);
    border-top: 3px solid var(--ll-meadow, #1F7A4D);
}

.ll-story-values h3 {
    margin: 0 0 0.55rem;
    font-family: var(--ll-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ll-meadow-ink, #145C38);
}

.ll-story-values p {
    margin: 0;
    color: rgba(28, 40, 34, 0.78);
    line-height: 1.55;
    max-width: 38ch;
    font-size: 0.98rem;
}

.ll-story .ll-funfact {
    margin: 0;
    padding: 1rem 1.15rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #E7F2EA 0%, #F3EBD8 100%);
    border: 1px solid rgba(28, 40, 34, 0.08);
    box-shadow: 0 6px 16px rgba(28, 40, 34, 0.04);
}

.ll-story .ll-funfact-label {
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ll-meadow-ink, #163528);
}

.ll-story .ll-funfact p:last-child {
    margin-bottom: 0;
    line-height: 1.55;
}

@media (min-width: 640px) {
    .ll-waitlist-inline {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: stretch;
    }

    .ll-waitlist-submit {
        width: auto;
        white-space: nowrap;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

@media (min-width: 800px) {
    .ll-story-hero-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 2.5rem;
    }

    .ll-story-split {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
        gap: 2.5rem;
        align-items: center;
    }

    .ll-story-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.15rem;
    }

    .ll-story-values {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

@media (min-width: 992px) {
    .ll-story-hero {
        padding-top: 4.25rem;
        padding-bottom: 4.25rem;
    }
}
