/* Страница акции по ЖК (fasadka.com/akcii/{slug}/). Подключается только на akciya_zhk,
   вместе с alt-landing.css (общие классы .alt-btn/.alt-container/.alt-modal*/.alt-building-*
   и скрытие обычных шапки/подвала — см. alt-landing.css).

   Единая типографическая шкала для всей страницы (чтобы не плодить варианты):
   — заголовки блоков (h2): 22px/1.3, Roboto Slab, 700;
   — основной текст/списки: 15px/1.6;
   — мелкий текст (подписи, сноски, форма): 13px/1.5;
   — вертикальный ритм между секциями: 40px сверху/снизу. */

body { padding-bottom: 76px; } /* место под закреплённую нижнюю панель на мобильном */

.akciya-topbar { background: #1A1A1A; }
.akciya-topbar .alt-topbar-row { justify-content: space-between; }
.akciya-topbar .alt-logo-img { width: 130px; }
.akciya-topbar .alt-topbar-phone { color: #FFFFFF; font-weight: 600; text-decoration: none; }

.akciya-hero {
    padding: 32px 0;
    background:
        repeating-linear-gradient(0deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 72px),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 72px),
        linear-gradient(120deg, #192D6E 5%, #4D63AA 70%);
}
.akciya-hero-grid { display: grid; grid-template-columns: 1fr; grid-template-areas: "text" "visual"; gap: 28px; align-items: center; }
.akciya-hero-text { grid-area: text; }
.akciya-hero-visual { grid-area: visual; }

.akciya-badge {
    display: inline-block; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3);
    color: #FBCB60; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em;
    border-radius: 999px; padding: 8px 16px; margin-bottom: 16px;
}
.akciya-title { font-family: 'Roboto Slab', serif; font-size: 26px; font-weight: 700; color: #FFFFFF; text-align: left; text-transform: none; margin: 0 0 12px; line-height: 1.25; }
.akciya-sub { font-size: 16px; color: rgba(255,255,255,0.85); margin: 0 0 18px; line-height: 1.5; }
.akciya-hero-bullets { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.akciya-hero-bullets li { font-size: 15px; color: #FFFFFF; line-height: 1.5; }

.akciya-banner-btn {
    all: unset; cursor: pointer; display: block; width: 100%; max-width: 420px; margin: 0 auto;
    border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.18);
}
.akciya-banner-btn img { width: 100%; display: block; }
.akciya-banner-placeholder {
    display: flex; align-items: center; justify-content: center; aspect-ratio: 4/5;
    background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.5); font-size: 13px; text-align: center; padding: 20px;
}

.akciya-hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.akciya-days-left { font-size: 14px; font-weight: 700; color: #FBCB60; }

/* --- Единые стили заголовков и текста секций --- */
.akciya-section-title, .akciya-deal-title {
    font-family: 'Roboto Slab', serif; font-size: 22px; font-weight: 700; line-height: 1.3;
    color: #1A1A1A; margin: 0 0 14px;
}
.akciya-deal p, .akciya-uk p {
    font-size: 15px; line-height: 1.6; color: #1A1A1A; margin: 0 0 12px;
}
.akciya-deal p:last-of-type, .akciya-uk p:last-of-type { margin-bottom: 0; }

.akciya-deal, .akciya-uk, .akciya-benefits, .akciya-portfolio, .akciya-how { padding: 40px 0; }
.akciya-deal { background: #FFF9EC; }
.akciya-benefits, .akciya-how { background: #F5F4ED; }

.akciya-deal-steps { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; counter-reset: akciya-step; }
.akciya-deal-steps li {
    counter-increment: akciya-step; padding-left: 30px; position: relative;
    font-size: 15px; line-height: 1.6; color: #1A1A1A;
}
.akciya-deal-steps li::before {
    content: counter(akciya-step); position: absolute; left: 0; top: 0;
    width: 22px; height: 22px; border-radius: 999px; background: #FBCB60; color: #1A1A1A;
    font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.akciya-deal-deadline { font-weight: 700; }
.akciya-deal-fallback { font-size: 13px; color: #636363; margin: 0; line-height: 1.5; }
.akciya-link-btn { all: unset; cursor: pointer; color: #1A1A1A; font-weight: 700; text-decoration: underline; }

.akciya-benefits-list, .akciya-how-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.akciya-benefits-list li, .akciya-how-list li { font-size: 15px; line-height: 1.6; color: #1A1A1A; }
.akciya-how-list { counter-reset: akciya-step; padding-left: 0; }
.akciya-how-list li { counter-increment: akciya-step; padding-left: 30px; position: relative; }
.akciya-how-list li::before {
    content: counter(akciya-step); position: absolute; left: 0; top: 0;
    width: 22px; height: 22px; border-radius: 999px; background: #FBCB60; color: #1A1A1A;
    font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}

.akciya-portfolio p { font-size: 13px; color: #636363; margin: 0 0 16px; line-height: 1.5; }
.akciya-portfolio-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-bottom: 18px; }
.akciya-portfolio-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; display: block; }

.akciya-form-section { padding: 48px 0 56px; }
.akciya-form-sub { font-size: 13px; color: #636363; margin: 0 0 20px; line-height: 1.5; }
.akciya-form { display: grid; gap: 14px; }
.akciya-form[hidden] { display: none; }
.akciya-form-field label { display: block; font-size: 13px; font-weight: 600; color: #636363; margin-bottom: 6px; }
.akciya-form-field input, .akciya-form-field select {
    width: 100%; border: 1px solid #D7D5CC; border-radius: 8px; padding: 12px 14px; font-size: 15px; font-family: inherit;
}
.akciya-checkbox { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: #636363; cursor: pointer; line-height: 1.5; }
.akciya-checkbox input { margin-top: 3px; flex-shrink: 0; }
.akciya-checkbox-required span::after { content: ' *'; color: #C0392B; }
.akciya-form-message { font-size: 13px; text-align: center; margin: 0; }
.akciya-form-message.is-error { color: #C0392B; }
.akciya-form-message.is-ok { color: #1E7E34; }

.akciya-form-success, .alt-modal-success.akciya-modal-success {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
}
.akciya-form-success[hidden], .akciya-modal-success[hidden] { display: none; }
.akciya-success-icon, .akciya-modal-success .alt-modal-success-icon {
    width: 48px; height: 48px; border-radius: 999px; background: #E8F5E9; color: #1E7E34;
    font-size: 24px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.akciya-form-success h3, .akciya-modal-success h3 { font-family: 'Roboto Slab', serif; font-size: 18px; margin: 0; }
.akciya-form-success p, .akciya-modal-success p { font-size: 15px; color: #1A1A1A; margin: 0; }

.akciya-footer { background: #1A1A1A; color: rgba(255,255,255,0.6); padding: 18px 0; font-size: 13px; text-align: center; }

.akciya-sticky-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 400;
    display: flex; gap: 10px; padding: 10px 16px; background: #FFFFFF; border-top: 1px solid #E5E3DC;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.06);
}
.akciya-sticky-bar .alt-btn { flex: 1; text-align: center; padding: 12px 10px; font-size: 14px; }

@media (min-width: 701px) {
    body { padding-bottom: 0; }
    .akciya-sticky-bar { display: none; }
    .akciya-title { font-size: 34px; }
    .akciya-section-title, .akciya-deal-title { font-size: 26px; }
    .akciya-hero-grid { grid-template-columns: 1.3fr 1fr; grid-template-areas: "text visual"; gap: 48px; }
    .akciya-banner-btn { max-width: 100%; }
}
