/* dlya-kogo.css — "Для кого" hub page: hero, role cards grid, bottom CTA */

/* ===== Hero ===== */
.dk-hero {
    padding: 6.5rem 0 clamp(2rem, 4vw, 4rem);
    background: var(--bg-gradient);
    text-align: center;
}

.dk-hero__inner {
    max-width: 720px;
    margin: 0 auto;
}

.dk-hero h1 {
    margin-bottom: 1rem;
}

.dk-hero__subtitle {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto;
}

/* ===== Role Cards Grid ===== */
.dk-roles {
    padding: clamp(2rem, 5vw, 4rem) 0 clamp(4rem, 7vw, 8rem);
}

.dk-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 960px;
    margin: 0 auto;
}

/* ===== Single Card ===== */
.dk-card {
    display: flex;
    flex-direction: column;
    min-height: 280px;
    padding: 2.5rem 2rem;
    background: var(--card-bg);
    border: 1px solid rgba(45, 49, 66, 0.08);
    border-left: 4px solid transparent;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: var(--text);
    transition: var(--transition);
    position: relative;
}

.dk-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--primary);
}

/* Icon circle */
.dk-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary-pale);
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

/* Title */
.dk-card__title {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
    font-weight: 400;
    margin-bottom: 0.75rem;
    color: var(--text);
}

/* Description */
.dk-card__desc {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

/* Bullet list */
.dk-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dk-card__list li {
    font-size: 0.875rem;
    color: var(--text);
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.dk-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 14px;
    height: 14px;
    background: var(--primary);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

/* "Подробнее" link */
.dk-card__link {
    margin-top: auto;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.dk-card__arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.dk-card:hover .dk-card__arrow {
    transform: translateX(4px);
}

/* ===== Bottom CTA ===== */
.dk-bottom {
    padding: 0 0 clamp(4rem, 7vw, 8rem);
}

.dk-bottom__inner {
    text-align: center;
    background: var(--bg-gradient);
    border-radius: var(--radius-lg);
    padding: clamp(3rem, 5vw, 5rem) clamp(2rem, 4vw, 4rem);
}

.dk-bottom h2 {
    margin-bottom: 0.75rem;
}

.dk-bottom p {
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .dk-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .dk-card {
        min-height: auto;
        padding: 2rem 1.5rem;
    }
}
