/* Страницы «О проекте», «Цены», для профессий и функций — общий стиль (frontend/views/landing/_kit.php) */
/* Длинная страница: фоновая иллюстрация макета наезжает на блоки — убираем */
.bgi-attachment-fixed { background-image: none !important; }
.ab-wrap { max-width: 1180px; }
.ab-section { margin-bottom: 4.5rem; }
.ab-eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #009EF7; margin-bottom: .75rem; }
.ab-h2 { font-size: 2rem; font-weight: 700; color: #181C32; line-height: 1.2; margin-bottom: .75rem; }
.ab-lead { font-size: 1.1rem; color: #7E8299; max-width: 680px; }
.ab-hero h1 { font-size: 2.9rem; line-height: 1.12; font-weight: 700; color: #181C32; letter-spacing: -.02em; }
.ab-hero h1 span { color: #009EF7; }
@media (max-width: 767px) { .ab-hero h1 { font-size: 2.1rem; } .ab-h2 { font-size: 1.6rem; } }
.ab-icon { width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Макет дня мастера в шапке */
.ab-day { background: #fff; border-radius: 20px; box-shadow: 0 20px 60px rgba(24, 28, 50, .10); padding: 1.5rem; }
.ab-day-row { display: grid; grid-template-columns: 52px 1fr; gap: .75rem; align-items: stretch; margin-bottom: .6rem; }
.ab-day-time { font-size: .85rem; color: #A1A5B7; font-weight: 600; padding-top: .55rem; }
.ab-day-slot { border-radius: 12px; padding: .6rem .85rem; border-left: 4px solid; }
.ab-day-slot .t { font-weight: 700; color: #181C32; font-size: .95rem; }
.ab-day-slot .s { font-size: .8rem; color: #7E8299; }
.ab-day-free { border: 1.5px dashed #E4E6EF; border-radius: 12px; padding: .6rem .85rem; color: #A1A5B7; font-size: .85rem; }

/* Цифры */
.ab-stat { background: #fff; border-radius: 18px; padding: 1.5rem; height: 100%; box-shadow: 0 6px 24px rgba(24, 28, 50, .05); }
.ab-stat .v { font-size: 2.2rem; font-weight: 700; line-height: 1; color: #181C32; }
.ab-stat .l { color: #7E8299; font-size: .95rem; margin-top: .6rem; }

/* Для кого */
.ab-chip { display: inline-flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid #EFF2F5; border-radius: 999px; padding: .55rem 1.05rem; font-weight: 600; color: #3F4254; font-size: .95rem; }

/* Как это работает */
.ab-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; position: relative; }
.ab-flow::before { content: ''; position: absolute; top: 34px; left: 12.5%; right: 12.5%; height: 2px; background: repeating-linear-gradient(90deg, #B5D9F6 0 8px, transparent 8px 14px); z-index: 0; }
.ab-flow-step { position: relative; z-index: 1; text-align: center; padding: 0 .5rem; }
.ab-flow-num { width: 68px; height: 68px; border-radius: 50%; background: #fff; border: 2px solid #009EF7; color: #009EF7; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; box-shadow: 0 0 0 8px #F5F8FA; }
.ab-flow-step .t { font-weight: 700; color: #181C32; font-size: 1.05rem; margin-bottom: .35rem; }
.ab-flow-step .d { color: #7E8299; font-size: .92rem; }
@media (max-width: 767px) {
	.ab-flow { grid-template-columns: 1fr; gap: 1.5rem; }
	.ab-flow::before { top: 0; bottom: 0; left: 34px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, #B5D9F6 0 8px, transparent 8px 14px); }
	.ab-flow-step { display: grid; grid-template-columns: 68px 1fr; gap: 1rem; text-align: left; align-items: center; }
	.ab-flow-num { margin: 0; }
}

/* Возможности */
.ab-feature { background: #fff; border-radius: 18px; padding: 1.6rem; height: 100%; border: 1px solid #F1F1F4; transition: transform .15s ease, box-shadow .15s ease; }
.ab-feature:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(24, 28, 50, .08); }
.ab-feature .t { font-weight: 700; font-size: 1.1rem; color: #181C32; margin: 1rem 0 .45rem; }
.ab-feature .d { color: #7E8299; font-size: .95rem; }
.ab-tag { font-size: .72rem; font-weight: 700; border-radius: 6px; padding: .2rem .5rem; text-transform: uppercase; letter-spacing: .04em; }

/* Клиент один — карточки по проектам */
.ab-person { display: flex; align-items: center; justify-content: center; gap: 1.25rem; flex-wrap: wrap; }
.ab-person-core { background: #009EF7; color: #fff; border-radius: 18px; padding: 1.1rem 1.4rem; text-align: center; min-width: 190px; box-shadow: 0 12px 30px rgba(0, 158, 247, .25); }
.ab-person-cards { display: flex; flex-direction: column; gap: .7rem; }
.ab-person-card { background: #fff; border: 1px solid #EFF2F5; border-radius: 14px; padding: .7rem 1rem; min-width: 230px; }

/* Цены */
.ab-bar { display: flex; height: 18px; border-radius: 9px; overflow: hidden; background: #F1F1F4; }
.ab-bar span { display: block; height: 100%; }
.ab-dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; flex-shrink: 0; }
.ab-price-row + .ab-price-row { border-top: 1px dashed #E4E6EF; }

.ab-cta { background: linear-gradient(135deg, #009EF7 0%, #0077D9 100%); border-radius: 24px; color: #fff; }
.ab-cta .btn-white { background: #fff; color: #009EF7; font-weight: 600; }
.ab-cta .btn-white:hover { background: #F1FAFF; color: #0077D9; }

/* ---------- Посадочные для мастеров (landing/*) ---------- */
.lp-hero h1 { font-size: 2.6rem; line-height: 1.15; font-weight: 700; color: #181C32; letter-spacing: -.02em; }
.lp-hero h1 span { color: #009EF7; }
@media (max-width: 767px) { .lp-hero h1 { font-size: 1.95rem; } }
.lp-crumbs { font-size: .85rem; color: #A1A5B7; margin-bottom: 1.25rem; }
.lp-crumbs a { color: #7E8299; }
.lp-crumbs a:hover { color: #009EF7; }

/* Макет: телефон со страницей записи */
.lp-phone { background: #fff; border-radius: 28px; box-shadow: 0 24px 70px rgba(24, 28, 50, .14); padding: 1.1rem 1rem 1.25rem; max-width: 330px; margin: 0 auto; border: 8px solid #181C32; }
.lp-phone-bar { width: 90px; height: 6px; border-radius: 3px; background: #E4E6EF; margin: 0 auto .9rem; }
.lp-phone-title { font-weight: 700; color: #181C32; font-size: 1rem; }
.lp-phone-sub { color: #A1A5B7; font-size: .8rem; margin-bottom: .8rem; }
.lp-svc { display: flex; justify-content: space-between; align-items: center; gap: .5rem; border: 1px solid #EFF2F5; border-radius: 12px; padding: .6rem .75rem; margin-bottom: .45rem; font-size: .85rem; }
.lp-svc.is-active { border-color: #009EF7; background: #F1FAFF; }
.lp-svc .n { font-weight: 600; color: #3F4254; }
.lp-svc .m { color: #A1A5B7; font-size: .75rem; }
.lp-svc .p { font-weight: 700; color: #181C32; white-space: nowrap; }
.lp-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: .35rem; margin-top: .6rem; }
.lp-slots span { text-align: center; font-size: .78rem; font-weight: 600; border-radius: 8px; padding: .35rem 0; background: #F5F8FA; color: #5E6278; }
.lp-slots span.is-active { background: #009EF7; color: #fff; }
.lp-slots span.is-busy { color: #D0D3DE; text-decoration: line-through; background: #FAFAFB; }

/* Макет: сообщение в мессенджере */
.lp-chat { background: #E7EEF5; border-radius: 22px; padding: 1.25rem; max-width: 380px; margin: 0 auto; }
.lp-chat-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem; }
.lp-chat-ava { width: 36px; height: 36px; border-radius: 50%; background: #009EF7; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.lp-msg { background: #fff; border-radius: 4px 16px 16px 16px; padding: .75rem .9rem; font-size: .88rem; color: #3F4254; line-height: 1.5; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.lp-msg b { color: #181C32; }
.lp-msg + .lp-msg { margin-top: .5rem; }
.lp-msg-time { text-align: right; color: #A1A5B7; font-size: .7rem; margin-top: .2rem; }
.lp-btns { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; margin-top: .45rem; }
.lp-btns span { background: rgba(255, 255, 255, .85); border-radius: 10px; text-align: center; font-size: .82rem; font-weight: 600; color: #009EF7; padding: .45rem; }
.lp-msg-out { background: #EFFDDE; border-radius: 16px 4px 16px 16px; margin-left: auto; max-width: 85%; }

/* Макет: абонемент и касса */
.lp-card { background: #fff; border-radius: 20px; box-shadow: 0 20px 60px rgba(24, 28, 50, .10); padding: 1.5rem; max-width: 420px; margin: 0 auto; }
.lp-ticket { border-radius: 16px; padding: 1.1rem 1.2rem; color: #fff; background: linear-gradient(135deg, #FFC700 0%, #F1A100 100%); position: relative; overflow: hidden; }
.lp-ticket::after { content: ''; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.lp-visits { display: grid; grid-template-columns: repeat(10, 1fr); gap: .3rem; margin-top: .9rem; }
.lp-visits span { height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .35); }
.lp-visits span.is-used { background: #fff; }
.lp-op { display: flex; justify-content: space-between; align-items: center; padding: .55rem 0; border-top: 1px dashed #EFF2F5; font-size: .88rem; }
.lp-op:first-child { border-top: 0; }
.lp-box { display: flex; justify-content: space-between; align-items: center; background: #F9F9FB; border-radius: 12px; padding: .7rem .9rem; margin-bottom: .5rem; }

/* Модули и цена */
.lp-module { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-top: 1px dashed #E4E6EF; }
.lp-module:first-child { border-top: 0; }
.lp-total { background: #F1FAFF; border-radius: 14px; padding: 1rem 1.2rem; }

/* Частые вопросы */
.lp-faq details { background: #fff; border: 1px solid #F1F1F4; border-radius: 14px; padding: 1.1rem 1.3rem; margin-bottom: .75rem; }
.lp-faq summary { cursor: pointer; font-weight: 700; color: #181C32; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: '+'; color: #009EF7; font-size: 1.4rem; font-weight: 400; line-height: 1; flex-shrink: 0; }
.lp-faq details[open] summary::after { content: '−'; }
.lp-faq details p { color: #5E6278; margin: .75rem 0 0; font-size: .98rem; }

/* Ссылки на другие страницы */
.lp-link { display: flex; align-items: center; justify-content: space-between; gap: .75rem; background: #fff; border: 1px solid #F1F1F4; border-radius: 14px; padding: .9rem 1.1rem; color: #3F4254; font-weight: 600; height: 100%; transition: border-color .15s ease, color .15s ease; }
.lp-link:hover { border-color: #009EF7; color: #009EF7; }
.lp-link.is-current { border-color: #009EF7; background: #F1FAFF; color: #009EF7; }

/* Калькулятор */
.lp-calc-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; border-top: 1px dashed #E4E6EF; }
.lp-calc-row:first-child { border-top: 0; }
.lp-stepper { display: inline-flex; align-items: center; border: 1px solid #E4E6EF; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.lp-stepper button { border: 0; background: #F5F8FA; width: 36px; height: 36px; font-size: 1.1rem; color: #3F4254; }
.lp-stepper button:hover { background: #EFF2F5; color: #009EF7; }
.lp-stepper input { width: 46px; height: 36px; border: 0; text-align: center; font-weight: 700; color: #181C32; -moz-appearance: textfield; }
.lp-stepper input::-webkit-outer-spin-button, .lp-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.lp-switch { position: relative; width: 46px; height: 26px; flex-shrink: 0; }
.lp-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.lp-switch span { position: absolute; inset: 0; background: #E4E6EF; border-radius: 13px; transition: background .15s ease; cursor: pointer; }
.lp-switch span::after { content: ''; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .15s ease; box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
.lp-switch input:checked + span { background: #009EF7; }
.lp-switch input:checked + span::after { transform: translateX(20px); }
.lp-switch input:focus-visible + span { outline: 2px solid #009EF7; outline-offset: 2px; }
.lp-sum { position: sticky; top: 1.5rem; }
.lp-sum-total { font-size: 2.6rem; font-weight: 700; color: #181C32; line-height: 1; }
.lp-sum-line { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; color: #5E6278; padding: .35rem 0; }
