/* ============================================================
   ESCA Docs — Business Case Presentation Styles
   ============================================================ */

.docs-page {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
    padding: 48px 0 40px;
    text-align: center;
}

.hero__title {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--ink);
    margin-bottom: 12px;
    line-height: 1.3;
}

.hero__subtitle {
    font-size: 16px;
    color: var(--ink-light);
    max-width: 680px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.hero__stats {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__stat-value {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--terracotta);
    line-height: 1.2;
}

.hero__stat-label {
    font-size: 11px;
    color: var(--ink-faint);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* ============================================================
   MODULE CARDS (hlavní rozcestník)
   ============================================================ */

.modules-section {
    margin-bottom: 48px;
}

.modules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 16px;
}

.module-card {
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid var(--parchment);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.2s;
}

.module-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.module-card__header {
    padding: 24px 24px 18px;
    color: white;
}

.module-card--jidelna .module-card__header {
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dim) 100%);
}

.module-card--skola .module-card__header {
    background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dim) 100%);
}

.module-card__label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.75;
}

.module-card__title {
    font-family: var(--font-display);
    font-size: 24px;
    margin: 4px 0 2px;
}

.module-card__sub {
    font-size: 12px;
    opacity: 0.85;
}

.module-card__body {
    flex: 1;
    padding: 16px 24px 8px;
}

.module-card__list {
    list-style: none;
    padding: 0;
}

.module-card__list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--cream-dark);
}

.module-card__list li:last-child {
    border-bottom: none;
}

.module-card__list li strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 2px;
}

.module-card__list li span {
    font-size: 11.5px;
    color: var(--ink-faint);
    line-height: 1.4;
}

.module-card__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 24px;
    font-size: 13px;
    font-weight: 500;
    border-top: 1px solid var(--parchment);
}

.module-card--jidelna .module-card__footer {
    color: var(--terracotta);
}

.module-card--skola .module-card__footer {
    color: var(--sage-dim);
}

.modules-combined {
    background: var(--ink);
    color: var(--cream);
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

.modules-combined strong {
    color: white;
}

/* ============================================================
   DETAIL PAGES (docs-jidelna, docs-skola)
   ============================================================ */

.detail-intro {
    margin-bottom: 32px;
    padding: 20px 24px;
    background: white;
    border: 1px solid var(--parchment);
    border-radius: var(--radius-lg);
}

.detail-intro p {
    font-size: 14px;
    color: var(--ink-light);
    line-height: 1.7;
    margin-bottom: 8px;
}

.detail-intro p:last-child {
    margin-bottom: 0;
}

.detail-module {
    margin-bottom: 24px;
    background: white;
    border: 1px solid var(--parchment);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.detail-module__header {
    padding: 16px 24px;
    color: white;
}

.detail-module__header h2 {
    font-family: var(--font-display);
    font-size: 18px;
}

.detail-module__header--jidelna {
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dim) 100%);
}

.detail-module__header--skola {
    background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dim) 100%);
}

.detail-module__body {
    padding: 20px 24px;
}

.detail-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.detail-feature {
    padding: 12px 16px;
    background: var(--cream);
    border-radius: var(--radius);
}

.detail-feature h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
}

.detail-feature ul {
    list-style: none;
    padding: 0;
}

.detail-feature li {
    font-size: 12px;
    color: var(--ink-light);
    line-height: 1.5;
    padding: 3px 0 3px 14px;
    position: relative;
}

.detail-feature li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: var(--ink-faint);
}

/* ============================================================
   BUSINESS CASE SECTIONS
   ============================================================ */

.bc-section {
    margin-bottom: 40px;
}

.bc-section__title {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--ink);
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--parchment);
}

/* Competitor cards */
.bc-competitor {
    background: white;
    border: 1px solid var(--parchment);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 16px;
}

.bc-competitor__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.bc-competitor__header h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
}

.bc-competitor__tag {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 10px;
    border-radius: 3px;
    background: var(--parchment);
    color: var(--ink-faint);
}

.bc-competitor__desc {
    font-size: 13px;
    color: var(--ink-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.bc-competitor__columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.bc-competitor__col h5 {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    color: var(--ink-faint);
}

.bc-competitor__col:first-child h5 {
    color: var(--sage-dim);
}

.bc-competitor__col:last-child h5 {
    color: var(--terracotta);
}

.bc-competitor__col ul {
    list-style: none;
    padding: 0;
}

.bc-competitor__col li {
    font-size: 12.5px;
    color: var(--ink-light);
    line-height: 1.5;
    padding: 4px 0 4px 16px;
    position: relative;
}

.bc-competitor__col:first-child li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--sage);
    font-weight: 600;
}

.bc-competitor__col:last-child li::before {
    content: "\2717";
    position: absolute;
    left: 0;
    color: var(--terracotta-light);
    font-weight: 600;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 700px) {
    .hero__stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .modules-grid,
    .detail-features,
    .bc-competitor__columns {
        grid-template-columns: 1fr;
    }

    .hero__title {
        font-size: 24px;
    }

    .hero__stat-value {
        font-size: 28px;
    }
}
