/* landing.css – секция «Что создают при помощи сервиса» (Spotlight Showcase) */

.service-output {
    padding: 56px 28px 48px;
    background: transparent;
    overflow: visible;
}

.service-output__inner {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.service-output__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 36px;
}

.service-output__eyebrow {
    margin: 0 0 10px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ff6b00;
}

.service-output__title {
    margin: 0;
    font-size: clamp(1.55rem, 2.6vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #171717;
    line-height: 1.25;
}

.service-output__desc {
    margin: 12px auto 0;
    font-size: 1rem;
    font-weight: 500;
    color: #8a8f9a;
    line-height: 1.5;
}

/* ===== Spotlight Showcase Grid ===== */
.service-output__spotlight {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr);
    gap: 24px;
    align-items: stretch;
}

/* ===== Left: Featured Showcase Card ===== */
.service-featured {
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid #eceef2;
    box-shadow: 0 14px 36px rgba(23, 23, 23, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow 0.25s ease;
}

.service-featured:hover {
    box-shadow: 0 18px 44px rgba(120, 60, 20, 0.09);
}

.service-featured__media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #1e1e24;
    overflow: hidden;
    display: block;
    text-decoration: none;
}

.service-featured__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease, transform 0.4s ease;
}

.service-featured__media:hover .service-featured__img {
    transform: scale(1.03);
}

.service-featured__badges {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    align-items: center;
    pointer-events: none;
    z-index: 2;
}

.service-featured__badge {
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    font-size: 0.78rem;
    font-weight: 800;
    color: #ff6b00;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.service-featured__body {
    padding: 24px 26px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.service-featured__title-link {
    text-decoration: none;
    color: inherit;
}

.service-featured__title {
    margin: 0;
    font-size: 1.32rem;
    font-weight: 800;
    color: #171717;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.service-featured__title-link:hover .service-featured__title {
    color: #ff6b00;
}

.service-featured__text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #6b7280;
    flex: 1;
}

.service-featured__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
    margin-top: auto;
}

.service-featured__author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-featured__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: #ffecd9;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.service-featured__author-name {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 800;
    color: #171717;
    line-height: 1.2;
}

.service-featured__author-role {
    margin: 2px 0 0;
    font-size: 0.78rem;
    color: #9ca3af;
    font-weight: 600;
}

.service-featured__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 12px;
    background: #fff4eb;
    color: #ff6b00 !important;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none !important;
    border: 1px solid #ffd7b8;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    cursor: pointer;
}

.service-featured__link:hover {
    background: #ff6b00;
    color: #ffffff !important;
    border-color: #ff6b00;
    box-shadow: 0 6px 18px rgba(255, 107, 0, 0.28);
    transform: translateY(-1px);
}

.service-featured__link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.service-featured__link:hover svg {
    transform: translateX(3px);
}

/* ===== Right: Interactive Projects List ===== */
.service-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 540px;
    overflow-y: auto;
    padding-right: 6px;
}

/* Стилизация скроллбара списка */
.service-list::-webkit-scrollbar {
    width: 6px;
}

.service-list::-webkit-scrollbar-track {
    background: #f1f3f6;
    border-radius: 8px;
}

.service-list::-webkit-scrollbar-thumb {
    background: #ffd0b0;
    border-radius: 8px;
}

.service-list::-webkit-scrollbar-thumb:hover {
    background: #ff9f60;
}

.service-item {
    display: grid;
    grid-template-columns: 88px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 12px 14px;
    background: #ffffff;
    border-radius: 16px;
    border: 1.5px solid #eceef2;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    text-align: left;
}

.service-item:hover {
    transform: translateX(4px);
    border-color: #ffb888;
    background: #fffaf6;
}

.service-item.is-active {
    border-color: #ff6b00;
    background: #fff6ee;
    box-shadow: 0 8px 24px rgba(255, 107, 0, 0.12);
}

.service-item__thumb {
    width: 88px;
    height: 62px;
    border-radius: 10px;
    object-fit: cover;
    background: #f1f3f6;
    border: 1px solid #eceef2;
    flex-shrink: 0;
}

.service-item__content {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.service-item__meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-item__tag {
    font-size: 0.72rem;
    font-weight: 800;
    color: #ff6b00;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.service-item__title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    color: #171717;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-item__author {
    margin: 0;
    font-size: 0.8rem;
    color: #8a8f9a;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-item__arrow {
    width: 22px;
    height: 22px;
    color: #d1d5db;
    display: grid;
    place-items: center;
    transition: transform 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.service-item__arrow svg {
    width: 18px;
    height: 18px;
}

.service-item:hover .service-item__arrow {
    color: #ff6b00;
    transform: translateX(2px);
}

.service-item.is-active .service-item__arrow {
    color: #ff6b00;
    transform: translateX(3px);
}

/* Анимация обновления превью */
.service-featured.is-animating .service-featured__img {
    opacity: 0.4;
    transform: scale(0.98);
}

.service-featured.is-animating .service-featured__title,
.service-featured.is-animating .service-featured__text {
    opacity: 0.5;
}

/* ===== Responsive Media Queries ===== */
@media (max-width: 960px) {
    .service-output__spotlight {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-list {
        max-height: none;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding-right: 0;
    }

    .service-item:hover {
        transform: translateY(-2px);
    }
}

@media (max-width: 580px) {
    .service-output {
        padding: 40px 16px 32px;
    }

    .service-output__head {
        margin-bottom: 24px;
    }

    .service-list {
        grid-template-columns: 1fr;
    }

    .service-featured__body {
        padding: 18px 18px 16px;
    }

    .service-featured__title {
        font-size: 1.15rem;
    }

    .service-featured__text {
        font-size: 0.88rem;
    }

    .service-featured__footer {
        flex-wrap: wrap;
    }

    .service-item {
        grid-template-columns: 74px 1fr auto;
        gap: 10px;
        padding: 10px;
    }

    .service-item__thumb {
        width: 74px;
        height: 54px;
    }
}

/* ==========================================================================
   ABOUT TARGETS SECTION («Для кого и зачем»)
   ========================================================================== */
.about-targets {
    padding: 32px 28px 48px;
    background: transparent;
}

.about-targets__inner {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.about-targets__head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 36px;
}

.about-targets__eyebrow {
    margin: 0 0 8px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ff6b00;
}

.about-targets__title {
    margin: 0;
    font-size: clamp(1.55rem, 2.6vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #171717;
    line-height: 1.25;
}

.about-targets__desc {
    margin: 10px auto 0;
    font-size: 0.98rem;
    font-weight: 500;
    color: #8a8f9a;
    line-height: 1.45;
}

.about-targets__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.target-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1.5px solid #eeddd3;
    border-radius: 20px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(45, 30, 20, 0.04);
    backdrop-filter: blur(8px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.target-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(255, 107, 0, 0.12);
    border-color: #ffb885;
}

.target-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.target-card__badge {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 999px;
}

/* Unique color badges */
.target-card--student .target-card__badge {
    background: #fff0e6;
    color: #ff6b00;
}
.target-card--teacher .target-card__badge {
    background: #e6f7f2;
    color: #0d9488;
}
.target-card--class .target-card__badge {
    background: #fff8e1;
    color: #d97706;
}
.target-card--parents .target-card__badge {
    background: #eef2ff;
    color: #6366f1;
}

.target-card__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.target-card--student .target-card__icon {
    background: #fff0e6;
    color: #ff6b00;
}
.target-card--teacher .target-card__icon {
    background: #e6f7f2;
    color: #0d9488;
}
.target-card--class .target-card__icon {
    background: #fff8e1;
    color: #d97706;
}
.target-card--parents .target-card__icon {
    background: #eef2ff;
    color: #6366f1;
}

.target-card__icon svg {
    width: 20px;
    height: 20px;
}

.target-card__title {
    margin: 0 0 10px;
    font-size: 1.15rem;
    font-weight: 800;
    color: #171717;
    line-height: 1.3;
}

.target-card__text {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
    line-height: 1.5;
}

/* ==========================================================================
   STORY MANIFESTO SECTION («Совет от разработчиков»)
   ========================================================================== */
.story-manifesto {
    padding: 56px 28px 48px;
    background: transparent;
}

.story-manifesto__inner {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.story-manifesto__card {
    background: linear-gradient(145deg, #ffffff 0%, #fff7f2 60%, #ffeedd 100%);
    border: 2px solid #ffd4bc;
    border-radius: 28px;
    padding: 44px 48px 38px;
    box-shadow: 0 20px 48px rgba(220, 100, 40, 0.08);
    position: relative;
    overflow: hidden;
}

.story-manifesto__card::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255, 140, 50, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.story-manifesto__header {
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
}

.story-manifesto__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff0e6;
    border: 1px solid #ffcca8;
    color: #c85000;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.story-manifesto__title {
    margin: 0;
    font-size: clamp(1.45rem, 2.5vw, 2.15rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #171717;
    line-height: 1.25;
}

.story-manifesto__body {
    display: flex;
    align-items: center;
    gap: 28px;
    position: relative;
    z-index: 1;
    margin-bottom: 32px;
}

.story-manifesto__art {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 145px;
}

.story-manifesto__art-img {
    width: 100%;
    max-width: 135px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.12));
    animation: devCatFloat 4.5s ease-in-out infinite;
}

@keyframes devCatFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-7px) rotate(1.5deg); }
}

.story-manifesto__quote-deco {
    font-size: 6rem;
    font-family: Georgia, serif;
    line-height: 0.75;
    color: #ffb088;
    opacity: 0.6;
    user-select: none;
    flex-shrink: 0;
}

.story-manifesto__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.story-manifesto__lead {
    margin: 0;
    font-size: 1.12rem;
    line-height: 1.6;
    color: #2d3748;
}

.story-manifesto__lead strong {
    color: #c85000;
}

.story-manifesto__text {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.6;
    color: #4a5568;
}

.story-manifesto__highlight {
    margin: 4px 0 0;
    font-size: 1.08rem;
    font-weight: 700;
    color: #8c4a17;
    line-height: 1.5;
    background: rgba(255, 230, 210, 0.5);
    padding: 10px 16px;
    border-left: 4px solid #ff6b00;
    border-radius: 0 10px 10px 0;
}

.story-manifesto__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    border-top: 1.5px dashed #ffd4bc;
    padding-top: 24px;
    position: relative;
    z-index: 1;
}

.story-manifesto__author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.story-manifesto__avatar-box {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.story-manifesto__avatar-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.12));
}

.story-manifesto__author-name {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: #171717;
}

.story-manifesto__author-role {
    margin: 2px 0 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: #8c7263;
}

.story-manifesto__pillars {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.manifesto-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #eeddd3;
    border-radius: 12px;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #2d3748;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.manifesto-pill__num {
    color: #ff6b00;
    font-weight: 900;
    font-size: 0.8rem;
}

/* ==========================================================================
   RESPONSIVE ADAPTATIONS
   ========================================================================== */
@media (max-width: 992px) {
    .about-targets__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .story-manifesto__card {
        padding: 32px 28px 28px;
    }

    .story-manifesto__art {
        display: none;
    }
}

@media (max-width: 680px) {
    .about-targets {
        padding: 24px 16px 36px;
    }

    .about-targets__grid {
        grid-template-columns: 1fr;
    }

    .story-manifesto {
        padding: 40px 16px 36px;
    }

    .story-manifesto__card {
        padding: 24px 18px 22px;
        border-radius: 20px;
    }

    .story-manifesto__quote-deco {
        display: none;
    }

    .story-manifesto__lead {
        font-size: 1rem;
    }

    .story-manifesto__text {
        font-size: 0.92rem;
    }

    .story-manifesto__highlight {
        font-size: 0.94rem;
        padding: 8px 12px;
    }

    .story-manifesto__footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .story-manifesto__pillars {
        width: 100%;
    }

    .manifesto-pill {
        flex: 1;
        justify-content: center;
        font-size: 0.8rem;
        padding: 6px 10px;
    }
}

/* ==========================================================================
   ROLE SELECTION MODAL
   ========================================================================== */
.role-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    z-index: 2147483647 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    margin: 0 !important;
    background: radial-gradient(circle at center, rgba(35, 24, 18, 0.78) 0%, rgba(12, 9, 7, 0.9) 100%) !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s ease, visibility 0.24s ease;
    will-change: opacity;
    overflow-y: auto !important;
}

.role-modal.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.role-modal__dialog {
    position: relative !important;
    margin: auto !important;
    background: #ffffff !important;
    border: 2px solid #ffd4bc !important;
    border-radius: 28px !important;
    padding: 40px 36px 36px !important;
    max-width: 720px !important;
    width: 100% !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38) !important;
    transform: scale(0.95);
    transition: transform 0.26s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-sizing: border-box !important;
    z-index: 10 !important;
    isolation: isolate;
    will-change: transform;
}

.role-modal.is-open .role-modal__dialog {
    transform: scale(1);
}

.role-modal__close {
    position: absolute;
    top: 18px;
    right: 20px;
    background: #f5ede8;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.role-modal__close:hover {
    background: #ffe3d3;
    color: #c85000;
    transform: scale(1.08);
}

.role-modal__head {
    text-align: center;
    margin-bottom: 28px;
}

.role-modal__badge {
    display: inline-block;
    background: #fff0e6;
    border: 1px solid #ffcca8;
    color: #c85000;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.role-modal__title {
    margin: 0;
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    font-weight: 900;
    color: #171717;
    letter-spacing: -0.02em;
}

.role-modal__sub {
    margin: 6px auto 0;
    font-size: 0.94rem;
    color: #8c7263;
    font-weight: 500;
}

.role-modal__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.role-card {
    border-radius: 20px;
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-sizing: border-box;
    position: relative;
}

.role-card--teacher {
    background: linear-gradient(180deg, #ffffff 0%, #fffbf8 100%);
    border: 1.5px solid #ffcca8;
}

.role-card--teacher:hover {
    transform: translateY(-4px);
    border-color: #ff6b00;
    box-shadow: 0 14px 32px rgba(255, 107, 0, 0.12);
}

.role-card--student {
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfb 100%);
    border: 1.5px solid #d2eae3;
}

.role-card--student:hover {
    transform: translateY(-4px);
    border-color: #0d9488;
    box-shadow: 0 14px 32px rgba(13, 148, 136, 0.12);
}

.role-card__art {
    margin-bottom: 14px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.role-card__art img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.08));
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.role-card:hover .role-card__art img {
    transform: scale(1.08) rotate(-1deg);
}

.role-card__title {
    margin: 0 0 8px;
    font-size: 1.2rem;
    font-weight: 800;
    color: #171717;
}

.role-card__desc {
    margin: 0 0 20px;
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.45;
    flex: 1;
}

.role-card__actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.role-card__btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 0.94rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.role-card__btn--teacher {
    background: #ff6b00;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(255, 107, 0, 0.3);
}

.role-card__btn--teacher:hover {
    background: #e65c00;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.38);
    color: #ffffff;
}

.role-card__btn--student {
    background: #0d9488;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(13, 148, 136, 0.3);
}

.role-card__btn--student:hover {
    background: #0f766e;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.38);
    color: #ffffff;
}

.role-card__link {
    font-size: 0.82rem;
    font-weight: 700;
    color: #8c7263;
    text-decoration: none;
    transition: color 0.2s ease;
}

.role-card__link:hover {
    color: #ff6b00;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .role-modal__dialog {
        padding: 30px 20px 24px;
        border-radius: 22px;
    }

    .role-modal__cards {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .role-card {
        padding: 18px 16px;
    }

    .role-card__art {
        height: 64px;
        margin-bottom: 10px;
    }

    .role-card__art img {
        max-height: 64px;
    }

    .role-card__desc {
        margin-bottom: 14px;
        font-size: 0.84rem;
    }
}

