/**
 * Справка для рекламодателей. Собственные классы, а не утилиты Tailwind:
 * output.css темы собирается сборщиком, и новых утилит в нём просто не будет.
 */

.proj1-help-hero {
    margin-bottom: 2rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid #eceef1;
}

.proj1-help-hero__title {
    margin: 0 0 0.75rem;
    color: #0f0f0f;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.15;
}

.proj1-help-hero__lead {
    max-width: 780px;
    margin: 0 0 1.5rem;
    color: #4b5563;
    font-size: 17px;
    line-height: 1.6;
}

.proj1-help-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.proj1-help-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    background: #fff;
    color: #374151;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}

.proj1-help-btn:hover {
    border-color: #FE4365;
    color: #FE4365;
}

.proj1-help-btn--primary {
    border-color: #FE4365;
    background: #FE4365;
    color: #fff;
}

.proj1-help-btn--primary:hover {
    background: #e5385a;
    border-color: #e5385a;
    color: #fff;
}

.proj1-help-btn--telegram {
    border-color: #2AABEE;
    background: #2AABEE;
    color: #fff;
}

.proj1-help-btn--telegram:hover {
    background: #1d96d6;
    border-color: #1d96d6;
    color: #fff;
}

/* ── Три факта в шапке ────────────────────────────────────────────────────── */

.proj1-help-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.proj1-help-fact {
    padding: 1rem 1.1rem;
    border: 1px solid #eef0f3;
    border-radius: 0.75rem;
    background: #fafbfc;
}

.proj1-help-fact__value {
    display: block;
    margin-bottom: 0.2rem;
    color: #FE4365;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.proj1-help-fact__label {
    display: block;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.45;
}

/* ── Оглавление ───────────────────────────────────────────────────────────── */

.proj1-help-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2.25rem;
}

.proj1-help-toc a {
    padding: 0.35rem 0.85rem;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    color: #4b5563;
    font-size: 14px;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}

.proj1-help-toc a:hover {
    border-color: #FE4365;
    color: #FE4365;
}

/* ── Секции ───────────────────────────────────────────────────────────────── */

.proj1-help-section {
    max-width: 900px;
    margin-bottom: 2.75rem;
    scroll-margin-top: 90px;
}

.proj1-help-h2 {
    margin: 0 0 0.9rem;
    color: #0f0f0f;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
}

.proj1-help-text {
    margin: 0 0 1.1rem;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.65;
}

.proj1-help-text a,
.proj1-help-step__text a,
.proj1-help-faq p a {
    color: #FE4365;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.proj1-help-note {
    margin: 1.1rem 0 0;
    padding: 0.85rem 1rem;
    border-left: 3px solid #d1d5db;
    border-radius: 0 0.5rem 0.5rem 0;
    background: #f7f8f9;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.55;
}

/* ── Шаги ─────────────────────────────────────────────────────────────────── */

.proj1-help-steps {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.proj1-help-steps--compact {
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.proj1-help-step {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.proj1-help-step__num {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 9999px;
    background: #ffe4ec;
    color: #c81e57;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}

.proj1-help-step__title {
    margin: 0 0 0.25rem;
    color: #0f0f0f;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
}

.proj1-help-step__text {
    margin: 0;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.6;
}

/* ── Карточки и списки ────────────────────────────────────────────────────── */

.proj1-help-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.proj1-help-card {
    padding: 1.25rem;
    border: 1px solid #eef0f3;
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.proj1-help-card__title {
    margin: 0 0 0.7rem;
    color: #0f0f0f;
    font-size: 17px;
    font-weight: 600;
}

.proj1-help-list {
    margin: 0;
    padding-left: 1.15rem;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.6;
}

.proj1-help-list li {
    margin-bottom: 0.45rem;
}

.proj1-help-list li::marker {
    color: #FE4365;
}

.proj1-help-list--split {
    columns: 2;
    column-gap: 2rem;
}

/* ── Тарифы ───────────────────────────────────────────────────────────────── */

.proj1-help-plans {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.proj1-help-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border: 1px solid #eef0f3;
    border-radius: 0.9rem;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.proj1-help-plan--featured {
    border-color: #ffd0dc;
    background: linear-gradient(180deg, #fff7f9 0%, #ffffff 55%);
}

.proj1-help-plan__flag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.15rem 0.6rem;
    border-radius: 9999px;
    background: #ffe4ec;
    color: #c81e57;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.proj1-help-plan__name {
    margin: 0 0 0.35rem;
    color: #6b7280;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.proj1-help-plan__price {
    margin: 0 0 1rem;
    color: #0f0f0f;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.1;
}

.proj1-help-plan__price span {
    display: block;
    margin-top: 0.25rem;
    color: #9aa0aa;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0;
}

.proj1-help-plan__cta {
    margin-top: auto;
    align-self: flex-start;
}

.proj1-help-plan .proj1-help-list {
    margin-bottom: 1.25rem;
}

/* ── FAQ ──────────────────────────────────────────────────────────────────── */

.proj1-help-faq {
    border: 1px solid #eef0f3;
    border-radius: 0.75rem;
    overflow: hidden;
}

.proj1-help-faq__item + .proj1-help-faq__item {
    border-top: 1px solid #eef0f3;
}

.proj1-help-faq__item summary {
    padding: 1rem 1.15rem;
    color: #0f0f0f;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    transition: background-color 0.2s;
}

.proj1-help-faq__item summary::-webkit-details-marker {
    display: none;
}

.proj1-help-faq__item summary::after {
    content: "+";
    float: right;
    color: #9aa0aa;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
}

.proj1-help-faq__item[open] summary::after {
    content: "–";
}

.proj1-help-faq__item summary:hover {
    background: #fafbfc;
}

.proj1-help-faq__item p {
    margin: 0;
    padding: 0 1.15rem 1.15rem;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.6;
}

/* ── Финальный блок ───────────────────────────────────────────────────────── */

.proj1-help-cta {
    max-width: 900px;
    margin-bottom: 2rem;
    padding: 1.75rem;
    border: 1px solid #eef0f3;
    border-radius: 0.9rem;
    background: #fafbfc;
}

.proj1-help-cta__title {
    margin: 0 0 0.5rem;
    color: #0f0f0f;
    font-size: 21px;
    font-weight: 600;
}

.proj1-help-cta__text {
    margin: 0 0 1.25rem;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.6;
}

.proj1-help-cta .proj1-help-hero__actions {
    margin-bottom: 0;
}

@media (max-width: 780px) {
    .proj1-help-hero__title { font-size: 26px; }
    .proj1-help-facts,
    .proj1-help-cards,
    .proj1-help-plans { grid-template-columns: minmax(0, 1fr); }
    .proj1-help-list--split { columns: 1; }
}


/* ── Переключатель типа на справке ────────────────────────────────────────── */

.proj1-help-section--wide {
    max-width: 100%;
}

.proj1-help-typeswitch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    max-width: 780px;
    margin-bottom: 1.25rem;
}

.proj1-help-type {
    display: block;
    padding: 1rem 1.15rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    background: #fff;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.proj1-help-type:hover {
    border-color: #ffb3c4;
}

.proj1-help-type.is-current {
    border-color: #FE4365;
    background: #fff7f9;
    box-shadow: 0 0 0 1px #FE4365 inset;
}

.proj1-help-type__name {
    display: block;
    margin-bottom: 0.2rem;
    color: #0f0f0f;
    font-size: 17px;
    font-weight: 600;
}

.proj1-help-type__tagline {
    display: block;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.45;
}

.proj1-help-text--summary {
    max-width: 780px;
}

.proj1-help-yourtype {
    color: #6b7280;
}

/* ── Выбор типа на регистрации (тёмный фон) ───────────────────────────────── */

.proj1-type-choice {
    margin: 0 0 0.25rem;
    padding: 0;
    border: 0;
}

.proj1-type-choice__legend {
    margin-bottom: 0.6rem;
    padding: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.proj1-type-option {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-bottom: 0.6rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
}

.proj1-type-option:hover {
    border-color: #FE4365;
    background: rgba(255, 255, 255, 0.14);
}

.proj1-type-option input {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    accent-color: #FE4365;
    cursor: pointer;
    flex-shrink: 0;
}

.proj1-type-option:has(input:checked) {
    border-color: #FE4365;
    background: rgba(254, 67, 101, 0.16);
}

.proj1-type-option__body {
    display: block;
}

.proj1-type-option__name {
    display: block;
    margin-bottom: 0.15rem;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.proj1-type-option__text {
    display: block;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    line-height: 1.45;
}

.proj1-type-choice__note {
    margin: 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    line-height: 1.5;
}

.proj1-type-choice__note a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.proj1-type-choice__note a:hover {
    color: #FE4365;
}

/* ── Баннер типа в кабинете ───────────────────────────────────────────────── */

.proj1-advtype-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 1rem 1.25rem;
    border: 1px solid #eef0f3;
    border-left: 4px solid #FE4365;
    border-radius: 0.75rem;
    background: #fff;
}

.proj1-advtype-banner__label {
    margin: 0 0 0.15rem;
    color: #9aa0aa;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.proj1-advtype-banner__name {
    margin: 0 0 0.2rem;
    color: #0f0f0f;
    font-size: 18px;
    font-weight: 600;
}

.proj1-advtype-banner__text {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

.proj1-advtype-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.proj1-advtype-banner__btn {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    color: #4b5563;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}

.proj1-advtype-banner__btn:hover {
    border-color: #FE4365;
    color: #FE4365;
}

@media (max-width: 780px) {
    .proj1-help-typeswitch { grid-template-columns: minmax(0, 1fr); }
}
