

/* Start:/local/templates/main/css/course-detail.css?178873290811145*/
.crsd {
    background: #fafaf9;
    color: #000;
    font-family: 'Montserrat', sans-serif;
}

.crsd__container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ── Hero ── */
.crsd-hero {
    background: linear-gradient(160deg, #EDEDED 0%, #fafaf9 100%);
    padding: var(--page-top) 2rem 4rem;
}

.crsd-hero__inner {
    max-width: 1040px;
    margin: 0 auto;
    text-align: center;
}

/* Хлебные крошки — как на детальных страницах статей,
       но по центру, потому что весь hero центрированный. */





.crsd-hero__welcome {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #777;
    margin-bottom: 0.5rem;
}

.crsd-hero__title {
    font-size: 3.1rem;
    font-weight: 700;
    line-height: 1.1;
    max-width: 720px;
    margin: 0 auto 1.75rem;
}

.crsd-facts {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
    margin: 0 0 2.25rem;
    padding: 0;
}

.crsd-facts li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #fff;
    border: 1px solid #e8e2da;
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    font-size: 0.86rem;
    font-weight: 600;
    color: #444;
}

.crsd-facts svg {
    color: #E30613;
    flex-shrink: 0;
}

.crsd-hero__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.crsd-hero__hint {
    font-size: 0.88rem;
    color: #888;
}

.crsd-hero__hint b {
    color: #000;
    font-weight: 700;
}

/* Главное действие страницы — крупнее рядовой кнопки, с медленным ореолом */
.crsd-btn--hero {
    position: relative;
    padding: 1.1rem 2.7rem;
    font-size: 1.05rem;
    box-shadow: 0 10px 30px rgba(227, 6, 19, 0.32);
}

.crsd-btn--hero::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    animation: crsdPulse 2.8s ease-out infinite;
}

@keyframes crsdPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(227, 6, 19, 0.45);
    }

    70% {
        box-shadow: 0 0 0 18px rgba(227, 6, 19, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(227, 6, 19, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .crsd-btn--hero::after {
        animation: none;
    }
}

/* ── Кнопки ── */
.crsd-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.8rem;
    border-radius: 9999px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s, color 0.2s;
}

.crsd-btn svg {
    transition: transform 0.2s ease;
}

.crsd-btn--primary {
    background: #E30613;
    color: #fff;
    box-shadow: 0 6px 20px rgba(227, 6, 19, 0.28);
}

.crsd-btn--primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(227, 6, 19, 0.35);
}

.crsd-btn--primary:hover svg {
    transform: translateX(3px);
}

.crsd-btn--dark {
    background: #000;
    color: #fff;
}

.crsd-btn--dark:hover {
    background: #E30613;
    color: #fff;
    transform: translateY(-2px);
}

/* ── Секции ── */
.crsd-section {
    padding: 3.75rem 0;
}

.crsd-section--tint {
    background: #fff;
}

.crsd-section__eyebrow {
    display: block;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #E30613;
    margin-bottom: 0.6rem;
}

.crsd-section__title {
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.75rem;
}

/* ── Автор ── */
.crsd-author {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

.crsd-author__figure {
    margin: 0;
    border-radius: 22px;
    overflow: hidden;
    background: #EDEDED;
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.12);
}

.crsd-author__figure img {
    width: 100%;
    height: auto;
    display: block;
}

.crsd-author__quote {
    font-size: 1.25rem;
    line-height: 1.65;
    color: #333;
    margin-bottom: 1.5rem;
}

.crsd-author__quote b {
    font-weight: 700;
    color: #000;
}

.crsd-author__sign {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1.35rem;
    border-top: 1px solid #ece6de;
}

.crsd-author__sign-ic {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(227, 6, 19, 0.09);
    color: #E30613;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.crsd-author__sign-name {
    font-weight: 700;
    font-size: 1.02rem;
    line-height: 1.3;
}

.crsd-author__sign-role {
    font-size: 0.86rem;
    color: #888;
}

/* ── Программа ── */
.crsd-lead {
    font-size: 1.15rem;
    line-height: 1.65;
    color: #444;
    max-width: 720px;
    margin-bottom: 2rem;
}

.crsd-lead b {
    color: #000;
    font-weight: 700;
}

.crsd-techs {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
    margin: 0;
    padding: 0;
    counter-reset: tech;
}

.crsd-techs li {
    counter-increment: tech;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: #fff;
    border: 1px solid #f0ece7;
    border-radius: 16px;
    padding: 1rem 1.1rem;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.35;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.crsd-techs li:hover {
    border-color: #e6ded4;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.07);
    transform: translateY(-2px);
}

.crsd-techs li::before {
    content: counter(tech, decimal-leading-zero);
    flex-shrink: 0;
    font-size: 0.82rem;
    font-weight: 800;
    color: #E30613;
    background: rgba(227, 6, 19, 0.08);
    border-radius: 10px;
    padding: 0.4rem 0.55rem;
    line-height: 1;
}

/* ── Что разберём ── */
.crsd-points {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2rem;
    margin: 0;
    padding: 0;
}

.crsd-points li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.crsd-points svg {
    color: #E30613;
    flex-shrink: 0;
    margin-top: 4px;
}

/* ── Результат ── */
.crsd-result {
    background: #000;
    border-radius: 24px;
    padding: 2.75rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.crsd-result__ic {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.crsd-result__text {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.45;
    color: #fff;
    margin: 0;
}

/* ── Тарифы ── */
.crsd-plans {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.crsd-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #f0ece7;
    border-radius: 22px;
    padding: 2rem 1.85rem;
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.25s, transform 0.25s;
}

.crsd-plan:hover {
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.crsd-plan--best {
    border-color: #E30613;
    box-shadow: 0 10px 34px rgba(227, 6, 19, 0.14);
}

.crsd-plan__tag {
    position: absolute;
    top: -0.7rem;
    left: 1.85rem;
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    background: #E30613;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(227, 6, 19, 0.4);
}

.crsd-plan__name {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 1.1rem;
    min-height: 3.1rem;
}

.crsd-plan__price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1.4rem;
}

.crsd-plan__price b {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.crsd-plan__price span {
    font-size: 0.88rem;
    color: #999;
}

.crsd-plan__list {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    flex: 1;
}

.crsd-plan__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.94rem;
    line-height: 1.5;
    color: #444;
}

.crsd-plan__list svg {
    flex-shrink: 0;
    margin-top: 3px;
}

.crsd-plan__list .yes {
    color: #1A9E5C;
}

.crsd-plan__list .no {
    color: #c9c2b9;
}

.crsd-plan__list li.muted {
    color: #a8a29a;
}

.crsd-plan .crsd-btn {
    justify-content: center;
}

.crsd-plans__note {
    margin: 1.25rem 0 0;
    font-size: 0.86rem;
    color: #888;
    line-height: 1.6;
}

.crsd-popup {
    display: none;
    position:fixed;
    inset:0;
    z-index:9999;
}

.crsd-popup.is-active {
    display:flex;
    align-items:center;
    justify-content:center;
}

.crsd-popup__overlay {
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.55);
}

.crsd-popup__content {
    position:relative;
    z-index:2;
    background:#fff;
    max-width:600px;
    width:90%;
    max-height:90vh;
    overflow:auto;
    border-radius:24px;
    padding:30px;
    opacity: 0;
    transition: opacity .2s ease;
}
.crsd-popup.is-loaded .crsd-popup__content {
    opacity: 1;
}

.crsd-popup__close {
    position:absolute;
    right:20px;
    top:15px;
    border:0;
    background:none;
    font-size:30px;
    cursor:pointer;
}

.crsd-popup.is-active .crsd-popup__content {
    opacity: 1;
}

/* ── Адаптив ── */
@media (max-width: 900px) {
    .crsd-author {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 2rem;
    }

    .crsd-techs {
        grid-template-columns: repeat(2, 1fr);
    }

    .crsd-points {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .crsd-hero {
        padding: 7.5rem 1.5rem 3rem;
    }

    .crsd-hero__title {
        font-size: 2.1rem;
    }

    .crsd-section__title {
        font-size: 1.55rem;
    }

    .crsd-author {
        grid-template-columns: 1fr;
    }

    .crsd-author__figure {
        max-width: 320px;
    }

    .crsd-author__quote {
        font-size: 1.1rem;
    }

    .crsd-techs {
        grid-template-columns: 1fr;
    }

    .crsd-result {
        flex-direction: column;
        text-align: center;
        padding: 2.25rem 1.5rem;
        gap: 1.25rem;
    }

    .crsd-result__text {
        font-size: 1.15rem;
    }

    .crsd-plans {
        grid-template-columns: 1fr;
    }

    .crsd-plan__name {
        min-height: 0;
    }

    .crsd-btn--hero {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}
/* End */
/* /local/templates/main/css/course-detail.css?178873290811145 */
