/* Объявление «скоро» вместо клубов и активации карты + форма заявки организатора.
   Палитра и шрифты - токены sunday (theme/assets/css/sunday.css), с запасными значениями. */

.ibd-cs { padding: 48px 0 72px; }

.ibd-cs-hero { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.ibd-cs-eyebrow {
    display: inline-block; padding: 6px 14px; border-radius: 999px;
    background: var(--orange-tint, #fde9cf); color: var(--orange-deep, #dc7000);
    font-weight: 800; font-size: 13px; letter-spacing: .02em; text-transform: uppercase;
}
.ibd-cs-hero h1, .ibd-cs-hero h2 {
    font-family: var(--display, inherit); font-weight: 700; color: var(--ink, #1e2a32);
    font-size: clamp(26px, 2vw, 38px); line-height: 1.15; letter-spacing: -.02em; margin: 16px 0 14px;
}
.ibd-cs-lead { font-size: clamp(16px, 2.2vw, 19px); line-height: 1.6; color: var(--ink-soft, #39505e); margin: 0; }
/* Блок «Ведёте свою тусовку?» под открытым каталогом /communities/ (SCRUM-946). */
.ibd-cs--leads { padding: 56px 0 24px; margin-top: 48px; border-top: 1px solid var(--line, #e3ecf2); scroll-margin-top: calc(var(--shp-header-h, 79px) + 16px); }

.ibd-cs-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

.ibd-cs-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; }

.ibd-cs-form, .ibd-cs-aside {
    background: var(--paper, #fff); border: 1px solid var(--line, #e3ecf2);
    border-radius: 16px; box-shadow: none;
}
.ibd-cs-form { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.ibd-cs-form h2, .ibd-cs-aside h2 { font-size: 22px; font-weight: 700; color: var(--ink, #1e2a32); margin: 0; }

.ibd-cs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ibd-cs-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ibd-cs-field > span { font-size: 14px; font-weight: 700; color: var(--ink-soft, #39505e); }
.ibd-cs-field b { color: var(--orange-deep, #dc7000); font-weight: 800; }
.ibd-cs-field input, .ibd-cs-field select, .ibd-cs-field textarea {
    width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; color: var(--ink, #1e2a32);
    background: #fff; border: 1px solid var(--line, #e3ecf2); border-radius: 12px; padding: 12px 14px;
    min-height: 48px; transition: border-color .15s, box-shadow .15s;
}
.ibd-cs-field textarea { resize: vertical; min-height: 96px; }
.ibd-cs-field input:focus, .ibd-cs-field select:focus, .ibd-cs-field textarea:focus {
    outline: none; border-color: #1F6FA6; box-shadow: 0 0 0 3px #D9EBF9;
}
.ibd-cs-field .iti { width: 100%; }
.ibd-cs-field[data-invalid] input, .ibd-cs-field[data-invalid] select { border-color: #c2410c; }
.ibd-cs-err { font-style: normal; font-size: 13px; color: #b42318; min-height: 0; }
.ibd-cs-err:empty { display: none; }

.ibd-cs-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-soft, #39505e); line-height: 1.5; }
.ibd-cs-check input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--orange, #f5820a); }
.ibd-cs-check a { color: var(--sky-deep, #1f6fa6); }

/* Ловушка для ботов: убрана с экрана, но не display:none - иначе часть ботов её пропускает. */
.ibd-cs-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.ibd-cs-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font: inherit; font-weight: 800; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer;
    min-height: 48px; box-sizing: border-box;
    padding: 0 24px; border-radius: 12px; border: 1px solid transparent;
    background: var(--orange, #f5820a); color: #fff; box-shadow: none;
    transition: background .15s;
}
/* Глобальный a:hover темы (#dc7000) перебивает цвет кнопки-ссылки - цвет задаём и тут. */
.ibd-cs-btn:hover, .ibd-cs-btn:focus-visible { background: var(--orange-deep, #dc7000); color: #fff; }
/* Текст на оранжевом: белый на #F5820A - 2.6:1, цвет не меняем: вес 800 и тень у букв.
   Размер - 16px на 48 (решение владельца 20.10.2026, прежние 19px сняты); у ghost тот же. */
.ibd-cs-btn:not(.ibd-cs-btn--ghost) { text-shadow: 0 1px 1px rgba(120, 50, 0, .35); }
.ibd-cs-btn--ghost { background: #fff; color: var(--ink, #1e2a32); border-color: var(--orange, #f5820a); box-shadow: none; font-weight: 700; }
.ibd-cs-btn--ghost:hover, .ibd-cs-btn--ghost:focus-visible { background: var(--cream, #fff7ec); color: var(--ink, #1e2a32); border-color: var(--orange, #f5820a); }
.ibd-cs-btn:focus-visible { outline: 2px solid #2E86C1; outline-offset: 2px; }
.ibd-cs-btn[disabled] { opacity: .4; cursor: progress; }
.ibd-cs-submit { align-self: flex-start; }

.ibd-cs-status { margin: 0; padding: 12px 14px; border-radius: 12px; font-weight: 700; font-size: 15px; }
.ibd-cs-status[hidden] { display: none; }
.ibd-cs-status[data-kind="ok"] { background: #ecfdf3; color: #05603a; }
.ibd-cs-status[data-kind="error"] { background: #fef3f2; color: #b42318; }
.ibd-cs-mail { margin: 0; font-size: 14px; color: var(--muted, #5b7385); }
.ibd-cs-mail a { color: var(--sky-deep, #1f6fa6); font-weight: 700; text-decoration: none; }
.ibd-cs-mail a:hover, .ibd-cs-check a:hover { color: var(--sky-deep, #1f6fa6); text-decoration: underline; }

.ibd-cs-aside { padding: 26px; }
.ibd-cs-aside ol { margin: 14px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; color: var(--ink-soft, #39505e); font-size: 15.5px; line-height: 1.55; }
[dir="rtl"] .ibd-cs-aside ol { padding-left: 0; padding-right: 22px; }
.ibd-cs-alt { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-2, #eaf1f6); }
.ibd-cs-alt p { margin: 0 0 14px; color: var(--muted, #5b7385); font-size: 15px; line-height: 1.55; }

.ibd-cs-form[data-done] .ibd-cs-field,
.ibd-cs-form[data-done] .ibd-cs-row,
.ibd-cs-form[data-done] .ibd-cs-check,
.ibd-cs-form[data-done] .ibd-cs-submit { display: none; }

@media (max-width: 900px) {
    .ibd-cs-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .ibd-cs { padding: 28px 0 48px; }
    .ibd-cs-row { grid-template-columns: 1fr; }
    .ibd-cs-form, .ibd-cs-aside { padding: 20px; border-radius: 16px; }
    .ibd-cs-submit, .ibd-cs-actions .ibd-cs-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .ibd-cs-btn, .ibd-cs-field input, .ibd-cs-field select, .ibd-cs-field textarea { transition: none; }
}
