/* public/assets/css/modules/marketing.css */

.section-marketing { padding: 100px 0; background: var(--fl-bg-gradient-soft); }

.marketing-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 350px 350px; gap: 25px;
}

.market-card {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    isolation: isolate;
    transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.market-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 28px 48px rgba(15, 23, 42, 0.22);
}

.market-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0) 0%,
        rgba(15, 23, 42, 0.1) 45%,
        rgba(15, 23, 42, 0.48) 100%
    );
    pointer-events: none;
}

.market-card img {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.45s ease;
}

.market-card:hover img {
    transform: scale(1.06);
    filter: brightness(0.94);
}

.mc-glass-info {
    position: absolute;
    z-index: 2;
    bottom: 18px;
    left: 18px;
    right: 18px;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 20px 22px 22px;
    border-radius: 20px;
    color: rgba(248, 250, 252, 0.94);
    background: linear-gradient(165deg, rgba(15, 23, 42, 0.72) 0%, rgba(15, 23, 42, 0.9) 100%);
    backdrop-filter: blur(14px) saturate(1.12);
    -webkit-backdrop-filter: blur(14px) saturate(1.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow:
        0 20px 44px rgba(2, 6, 23, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(0);
    pointer-events: none;
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.market-card:hover .mc-glass-info {
    background: linear-gradient(165deg, rgba(15, 23, 42, 0.78) 0%, rgba(15, 23, 42, 0.94) 100%);
    border-color: rgba(255, 255, 255, 0.22);
}

.mc-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0;
    align-self: flex-start;
    box-shadow: none;
}

/* Přebije globální tmavou barvu nadpisů z base.css */
.section-marketing .mc-glass-info h3.mc-title {
    color: #f8fafc;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.18;
    margin: 0;
    text-shadow: none;
}

.section-marketing .mc-glass-info h3.mc-title.h5 {
    font-size: clamp(1.02rem, 2.4vw, 1.18rem);
}

.section-marketing .mc-glass-info h3.mc-title:not(.h5) {
    font-size: clamp(1.22rem, 2.6vw, 1.52rem);
}

.mc-desc {
    font-size: 0.92rem;
    margin: 0;
    line-height: 1.55;
    color: rgba(248, 250, 252, 0.86);
    text-shadow: none;
}

.span-col-2 { grid-column: span 2; }
.span-row-2 { grid-row: span 2; }