/* Корпоративным клиентам — /corporate/ (SEO-188). Не путать с corporate.css (8 Марта, окно заявки). */

.cl-page {
    --cl-accent: #cd4fbd;
    --cl-accent-dark: #a93a9b;
    --cl-ink: #2a1830;
    --cl-text: #434343;
    --cl-muted: #6b6470;
    --cl-line: #ece4ec;
    --cl-soft: #faf5fa;
    margin-top: 1rem;
    color: var(--cl-text);
}

.cl-page ul,
.cl-page ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Кнопки */
.cl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 1.75rem;
    border: 2px solid transparent;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1.0625rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.cl-btn--outline {
    background: #fff;
    color: var(--cl-accent-dark);
    border-color: var(--cl-accent);
}

.cl-btn--outline:hover {
    background: var(--cl-accent);
    color: #fff;
}

.cl-btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}

.cl-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.cl-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--cl-accent-dark);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed currentColor;
}

.cl-link:hover {
    color: var(--cl-accent);
}

/* Заголовки секций */
.cl-h2 {
    margin: 0 0 1.5rem;
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--cl-ink);
}

.cl-h3 {
    margin: 0 0 1rem;
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--cl-ink);
}

/* Обложка */
.cl-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
    padding: 2.5rem;
    border-radius: 1.25rem;
    background: var(--cl-soft);
    border-left: 6px solid var(--cl-accent);
}

.cl-hero:has(.cl-hero__media) {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}

.cl-hero__title {
    margin: 0 0 1rem;
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.12;
    color: var(--cl-ink);
}

.cl-hero__offer {
    max-width: 640px;
    margin: 0 0 1.25rem;
    font-size: 1.125rem;
    line-height: 1.5;
}

.cl-hero__points {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0 0 1.75rem !important;
}

.cl-hero__points li,
.cl-checklist li {
    position: relative;
    padding-left: 1.75rem;
    line-height: 1.45;
}

.cl-hero__points li::before,
.cl-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.25em;
    width: 1.05rem;
    height: 1.05rem;
    border-radius: 50%;
    background: var(--cl-accent)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
        center / 100% 100% no-repeat;
}

.cl-hero__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
}

.cl-link--download::before {
    content: "↓";
    font-weight: 700;
}

.cl-hero__media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 1rem;
}

/* Поводы */
.cl-occasions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.cl-occasion {
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    border: 1px solid var(--cl-line);
    border-top: 3px solid var(--cl-accent);
    border-radius: 0.75rem;
    background: #fff;
}

.cl-occasion__img {
    width: 56px;
    height: 56px;
    margin-bottom: 0.9rem;
    border-radius: 0.6rem;
    object-fit: cover;
}

.cl-occasion__img--icon {
    object-fit: contain;
}

.cl-occasion__title {
    margin: 0 0 0.4rem;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--cl-ink);
}

.cl-occasion__text {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.45;
    color: var(--cl-muted);
}

.cl-occasion__more {
    margin-top: auto;
    padding-top: 0.9rem;
    font-weight: 600;
    color: var(--cl-accent-dark);
    text-decoration: none;
}

.cl-occasion__more::after {
    content: " →";
}

.cl-occasion__more:hover {
    color: var(--cl-accent);
}

/* Шаги */
.cl-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem 1.25rem;
}

.cl-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.cl-step__num {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--cl-ink);
    color: #fff;
    font-weight: 700;
}

.cl-step__title {
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--cl-ink);
}

.cl-step__text {
    margin: 0.35rem 0 0;
    font-size: 0.9375rem;
    line-height: 1.45;
    color: var(--cl-muted);
}

/* Оплата и документы */
.cl-twocol {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
}

.cl-listcard {
    padding: 1.75rem;
    border-radius: 1rem;
    background: var(--cl-soft);
}

.cl-checklist {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

/* Почему мы */
.cl-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.cl-benefit {
    padding: 0.25rem 0 0.25rem 1.1rem;
    border-left: 3px solid var(--cl-accent);
}

.cl-benefit__title {
    margin: 0 0 0.35rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--cl-ink);
}

.cl-benefit__text {
    margin: 0;
    line-height: 1.5;
    color: var(--cl-muted);
}

/* Корпоративные заказы */
.cl-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.cl-gallery__item {
    margin: 0;
}

.cl-gallery__item img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 0.75rem;
}

.cl-gallery__item figcaption {
    margin-top: 0.5rem;
    font-size: 0.9375rem;
    color: var(--cl-muted);
}

/* FAQ */
.cl-faq .accordion-button {
    font-weight: 600;
    color: var(--cl-ink);
}

.cl-faq .accordion-button:not(.collapsed) {
    background: var(--cl-soft);
    color: var(--cl-ink);
    box-shadow: none;
}

.cl-faq .accordion-body {
    line-height: 1.55;
}

/* Финальный блок */
.cl-final {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
    padding: 2.5rem;
    border-radius: 1.25rem;
    background: var(--cl-ink);
    color: #fff;
}

.cl-final__title {
    margin: 0 0 0.75rem;
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

.cl-final__offer {
    margin: 0 0 1.25rem;
    font-size: 1.0625rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

.cl-final__contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.5rem;
}

.cl-final__contacts a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.cl-final__contacts a:hover {
    color: #ffd9f4;
}

.cl-final__cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cl-final__cta .cl-btn {
    width: 100%;
}

/* Мобильная панель заявки */
.cl-callbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 7;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--cl-line);
}

@media (max-width: 991.98px) {
    /* Чтобы контент не прятался под панелью. */
    .cl-page {
        padding-bottom: 4.5rem;
    }

    .cl-hero,
    .cl-hero:has(.cl-hero__media) {
        grid-template-columns: minmax(0, 1fr);
        padding: 1.5rem;
    }

    .cl-hero__title {
        font-size: 2rem;
    }

    .cl-h2,
    .cl-final__title {
        font-size: 1.5rem;
    }

    /* Поводы — горизонтальная лента со свайпом: карточка ≈80% ширины, виден край следующей. */
    .cl-occasions {
        display: flex;
        gap: 0.75rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        scroll-padding-inline: 12px;
        margin-inline: -12px;
        padding: 0 12px 0.5rem;
    }

    .cl-occasion {
        flex: 0 0 80%;
        max-width: 320px;
        scroll-snap-align: start;
    }

    .cl-steps,
    .cl-benefits {
        grid-template-columns: minmax(0, 1fr);
    }

    .cl-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cl-final {
        grid-template-columns: minmax(0, 1fr);
        padding: 1.5rem;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .cl-occasions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .cl-hero__cta .cl-btn {
        width: 100%;
    }

    .cl-listcard {
        padding: 1.25rem;
    }
}
