/* ============================================
   PRODUCT SHOWCASE — секция «Продукт» главной
   Длинные скриншоты реальных экранов Notix
   с fallback на CSS-мокапы
   ============================================ */

.ps-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}
.ps-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--grey);
    cursor: pointer;
    transition: all 0.18s;
    font-family: inherit;
}
.ps-tab:hover {
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-1px);
}
.ps-tab.active {
    background: var(--blue);
    color: var(--yellow);
    border-color: var(--blue);
    box-shadow: 0 8px 24px rgba(10, 31, 68, 0.18);
}
.ps-tab svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* Изображения — full width, без жёстких рамок */
.ps-imgstage {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px -20px rgba(10, 31, 68, 0.25);
    border: 1px solid #E2E8F0;
}
.ps-img {
    display: none;
    line-height: 0;
}
.ps-img.active {
    display: block;
    animation: fadeUp 0.25s ease;
}
.ps-img img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}
.ps-img-double {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 12px;
}
.ps-img-double img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(10, 31, 68, 0.08);
}
@media (max-width: 640px) {
    .ps-img-double { grid-template-columns: 1fr; }
}
.ps-img-placeholder {
    padding: 120px 24px;
    text-align: center;
    color: var(--grey);
    font-size: 15px;
    background: #F8FAFC;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── Адаптив ─── */
@media (max-width: 640px) {
    .ps-tab { font-size: 12px; padding: 8px 12px; }
    .ps-tabs { gap: 6px; }
}

/* ============================================
   WELCOME PAGE COMPAT — недостающие классы
   welcome.blade.php использует классы,
   которых нет ни в welcome.css, ни в promo.css.
   ============================================ */

/* Переопределяем .chip: welcome.css даёт жёлтый стиль,
   promo.css переопределяет на тёмно-синий — побеждает
   последний. Поднимаем специфичность: */
.promo-section .section-header .chip {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    background: #fdf5d0;
    color: var(--blue);
    font-size: 13px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    margin-bottom: 16px;
}

/* ─── HERO ─── */
.site-hero {
    position: relative;
    padding: 140px 24px 100px;
    overflow: hidden;
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
}
.site-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.site-hero-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.site-hero-text { position: relative; z-index: 1; }
.site-hero-text h1 {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.1;
    color: var(--blue);
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}
.site-hero-text h1 em { font-style: normal; color: #92750A; }
.site-hero-lead {
    font-size: 18px;
    line-height: 1.65;
    color: var(--grey);
    margin-bottom: 32px;
    max-width: 540px;
}
.site-hero-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.site-hero-trust {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #6B7B95;
}
.site-hero-trust span { display: flex; align-items: center; gap: 4px; }
.promo-hero-visual { position: relative; }

/* ─── AUDIENCE GRID ─── */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.audience-card {
    background: #fff;
    padding: 28px 24px;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    transition: transform 0.2s, box-shadow 0.2s;
}
.audience-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px -10px rgba(10, 31, 68, 0.15);
}
.audience-card .emoji {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #FFFBEB, #FEF3C7);
    font-size: 26px;
    margin-bottom: 14px;
}
.audience-card h3 {
    font-size: 17px;
    color: var(--blue);
    margin-bottom: 8px;
    font-weight: 700;
}
.audience-card p {
    color: var(--grey);
    font-size: 13px;
    line-height: 1.55;
}

/* ─── HOW IT WORKS ─── */
.how-it-works {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.how-step {
    background: #fff;
    padding: 32px 28px;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    transition: all 0.2s;
    position: relative;
}
.how-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px -10px rgba(10, 31, 68, 0.15);
}
.how-step-num {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--blue);
    color: var(--yellow);
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.how-step h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--blue);
}
.how-step p { color: var(--grey); font-size: 14px; line-height: 1.6; }

/* ─── INTEGRATIONS GRID ─── */
.integrations-extended-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    max-width: 900px;
    margin: 0 auto;
}

/* ─── PRICING ─── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}
.pricing-card {
    background: #fff;
    padding: 36px 28px;
    border-radius: 18px;
    border: 2px solid #E2E8F0;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.2s;
}
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px -12px rgba(10, 31, 68, 0.15);
}
.pricing-card.featured {
    border-color: var(--yellow);
    transform: scale(1.04);
    box-shadow: 0 24px 48px -16px rgba(251, 199, 8, 0.35);
    background: linear-gradient(180deg, #FFFBEB 0%, #FFFFFF 40%);
}
.pricing-card-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--yellow);
    color: var(--blue);
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(251, 199, 8, 0.4);
}
.pricing-card-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.pricing-card-price {
    font-size: 40px;
    font-weight: 900;
    color: var(--blue);
    margin-bottom: 8px;
    line-height: 1;
}
.pricing-card-price span { font-size: 16px; color: var(--grey); font-weight: 500; }
.pricing-card-sub {
    font-size: 13px;
    color: var(--grey);
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #F1F5F9;
}
.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    flex: 1;
}
.pricing-card li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--grey);
    border-bottom: 1px solid #F1F5F9;
    display: flex;
    align-items: center;
    gap: 10px;
}
.pricing-card li:last-child { border-bottom: none; }
.pricing-card li::before {
    content: '✓';
    color: var(--yellow);
    font-weight: 900;
    font-size: 16px;
}
.pricing-card .btn { width: 100%; justify-content: center; }

/* ─── FAQ ─── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-list details {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.2s;
}
.faq-list details:hover { border-color: rgba(251, 199, 8, 0.4); }
.faq-list details[open] {
    border-color: var(--yellow);
    box-shadow: 0 8px 24px -10px rgba(251, 199, 8, 0.25);
}
.faq-list summary {
    padding: 20px 56px 20px 24px;
    font-size: 16px;
    font-weight: 700;
    color: var(--blue);
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: background 0.15s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: '+';
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(251, 199, 8, 0.15);
    color: var(--blue);
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.faq-list details[open] summary::after { content: '−'; background: var(--yellow); }
.faq-list summary:hover { background: #F8FAFC; }
.faq-list details p {
    padding: 0 24px 22px;
    color: var(--grey);
    line-height: 1.7;
    font-size: 15px;
    margin: 0;
}

/* ─── CTA ─── */
.site-cta {
    padding: 100px 24px;
    background: linear-gradient(135deg, #0A1F44 0%, #132D5E 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.site-cta::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(251, 199, 8, 0.18) 0%, transparent 70%);
    top: -300px;
    right: -200px;
    pointer-events: none;
}
.site-cta::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(251, 199, 8, 0.12) 0%, transparent 70%);
    bottom: -250px;
    left: -150px;
    pointer-events: none;
}
.site-cta .section-inner { position: relative; z-index: 1; }
.site-cta h2 {
    font-size: 42px;
    font-weight: 900;
    color: var(--yellow);
    margin-bottom: 18px;
    letter-spacing: -1px;
}
.site-cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 580px;
    margin: 0 auto 36px;
    line-height: 1.6;
}
.site-cta-note {
    margin-top: 18px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ─── MOBILE APP DOWNLOAD ─── */
.app-download {
    position: relative;
    padding: 90px 24px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    overflow: hidden;
}
.app-download::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(10, 31, 68, 0.06) 0%, transparent 70%);
    top: -150px;
    left: -150px;
    pointer-events: none;
}
.app-download::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 199, 8, 0.12) 0%, transparent 70%);
    bottom: -200px;
    right: -100px;
    pointer-events: none;
}
.app-download-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}
.app-download-text { position: relative; z-index: 1; }
.app-download-chip {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    background: #fdf5d0;
    color: var(--blue);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}
.app-download-text h2 {
    font-size: 44px;
    font-weight: 900;
    line-height: 1.15;
    color: var(--blue);
    margin-bottom: 20px;
    letter-spacing: -1.2px;
}
.app-download-text h2 em {
    font-style: normal;
    color: #92750A;
}
.app-download-lead {
    font-size: 17px;
    line-height: 1.6;
    color: var(--grey);
    margin-bottom: 32px;
    max-width: 520px;
}
.app-download-stores {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px;
    background: var(--blue);
    color: #fff;
    border-radius: 14px;
    text-decoration: none;
    transition: transform .18s, box-shadow .18s, background .18s;
    box-shadow: 0 6px 20px -6px rgba(10, 31, 68, 0.4);
}
.store-badge:hover {
    transform: translateY(-2px);
    background: #132D5E;
    box-shadow: 0 12px 28px -6px rgba(10, 31, 68, 0.5);
}
.store-badge svg { flex-shrink: 0; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-badge small { font-size: 10px; opacity: 0.75; text-transform: uppercase; letter-spacing: 0.5px; }
.store-badge strong { font-size: 16px; font-weight: 700; margin-top: 2px; }
.app-download-trust {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--grey);
    font-weight: 500;
}
.app-download-trust span:not(:nth-child(2n)) { color: var(--blue); font-weight: 600; }

/* Phone mockup */
.app-download-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.app-download-visual::before {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 199, 8, 0.18) 0%, transparent 70%);
    z-index: 0;
}
.app-phone {
    position: relative;
    z-index: 1;
    width: 280px;
    height: 560px;
    background: #0A1F44;
    border-radius: 38px;
    padding: 12px;
    box-shadow:
        0 30px 60px -20px rgba(10, 31, 68, 0.4),
        0 0 0 2px #132D5E inset;
}
.app-phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 22px;
    background: #0A1F44;
    border-radius: 0 0 14px 14px;
    z-index: 2;
}
.app-phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.app-phone-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 22px 4px;
    font-size: 12px;
    font-weight: 700;
    color: var(--blue);
}
.app-phone-icons { letter-spacing: -1px; }
.app-phone-header {
    padding: 8px 16px 14px;
    border-bottom: 1px solid #E2E8F0;
}
.app-phone-greet {
    font-size: 18px;
    font-weight: 800;
    color: var(--blue);
    letter-spacing: -0.3px;
}
.app-phone-sub {
    font-size: 11px;
    color: #15803d;
    font-weight: 600;
    margin-top: 2px;
}
.app-phone-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    margin: 8px 10px 0;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 2px 6px -2px rgba(10, 31, 68, 0.06);
}
.app-phone-card-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}
.app-phone-card > div { flex: 1; min-width: 0; }
.app-phone-card-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--blue);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.app-phone-card-text {
    font-size: 10px;
    color: var(--grey);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}
.app-phone-card-time {
    font-size: 9px;
    color: #94A3B8;
    font-weight: 600;
    white-space: nowrap;
}

/* ─── Адаптив ─── */
@media (max-width: 1024px) {
    .site-hero-inner { grid-template-columns: 1fr; gap: 50px; text-align: center; }
    .site-hero-text h1 { font-size: 40px; }
    .site-hero-lead { margin-left: auto; margin-right: auto; }
    .site-hero-actions { justify-content: center; }
    .site-hero-trust { justify-content: center; }
    .promo-hero-visual { order: -1; max-width: 480px; margin: 0 auto; }
    .audience-grid { grid-template-columns: repeat(2, 1fr); }
    .how-it-works { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .pricing-card.featured { transform: none; }
    .integrations-extended-grid { grid-template-columns: repeat(3, 1fr); }
    .app-download-inner { grid-template-columns: 1fr; gap: 50px; text-align: center; }
    .app-download-text h2 { font-size: 36px; }
    .app-download-lead { margin-left: auto; margin-right: auto; }
    .app-download-stores { justify-content: center; }
    .app-download-trust { justify-content: center; }
    .app-download-visual { order: -1; max-width: 320px; margin: 0 auto; }
}
@media (max-width: 640px) {
    .site-hero { padding: 110px 16px 70px; }
    .site-hero-text h1 { font-size: 32px; }
    .site-hero-lead { font-size: 16px; }
    .audience-grid { grid-template-columns: 1fr; }
    .how-it-works { grid-template-columns: 1fr; }
    .integrations-extended-grid { grid-template-columns: repeat(2, 1fr); }
    .site-cta h2 { font-size: 28px; }
    .site-cta p { font-size: 16px; }
    .app-download { padding: 70px 16px; }
    .app-download-text h2 { font-size: 28px; }
    .app-download-stores { flex-direction: column; align-items: stretch; }
    .store-badge { justify-content: center; }
    .app-phone { width: 240px; height: 480px; }
}

/* ============================================
   FORMER PROMO STYLES — перенесено из promo.css
   (страница /promo удалена; стили остались,
   чтобы welcome.blade.php работал без неё)
   ============================================ */

.promo-page { background: #fdfdfd; }

.promo-page .nav-cta {
    padding: 8px 16px;
    background: linear-gradient(135deg, #FBC708 0%, rgba(255, 255, 255, 0.7) 100%);
    color: var(--blue);
    border: 2px solid rgba(15, 76, 129, 0.95);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.15s;
}
.promo-page .nav-cta:hover { transform: translateY(-1px); }

/* HERO */
.promo-hero {
    position: relative;
    padding: 80px 0 100px;
    overflow: hidden;
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
}
.promo-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.promo-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}
.promo-blob-1 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #fbc708 0%, transparent 70%);
    top: -100px; right: -50px;
}
.promo-blob-2 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, #0A1F44 0%, transparent 70%);
    bottom: -100px; left: -50px;
    opacity: 0.15;
}
.promo-hero-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.promo-badge {
    display: inline-block;
    background: rgba(251,199,8,0.15);
    color: #92750A;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
}
.promo-hero-text h1 {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.1;
    color: var(--blue);
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}
.promo-hero-text h1 em {
    font-style: normal;
    color: #92750A;
    position: relative;
}
.promo-lead {
    font-size: 18px;
    line-height: 1.65;
    color: var(--grey);
    margin-bottom: 32px;
    max-width: 540px;
}
.promo-cta-row {
    display: flex;
    gap: 14px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.promo-trust {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #6B7B95;
}
.promo-trust span { display: flex; align-items: center; gap: 4px; }

/* MOCKUP */
.promo-hero-visual {
    position: relative;
}
.promo-mockup {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 30px 60px -20px rgba(10,31,68,0.25), 0 18px 36px -18px rgba(10,31,68,0.3);
    overflow: hidden;
    transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.4s;
}
.promo-mockup:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.promo-mockup-header {
    background: #F1F5F9;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #E2E8F0;
}
.promo-mockup-header .dot {
    width: 11px; height: 11px;
    border-radius: 50%;
}
.dot.red { background: #FF5F57; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #28C940; }
.promo-mockup-title {
    margin-left: 12px;
    font-size: 13px;
    color: var(--grey);
    font-weight: 500;
}
.promo-mockup-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 380px;
}
.promo-card-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #F8FAFC;
    border-radius: 10px;
    border-left: 3px solid #E2E8F0;
    transition: background 0.2s;
}
.promo-card-mini:hover { background: #F1F5F9; }
.promo-card-mini.new {
    background: linear-gradient(90deg, #FFFBEB 0%, #FEF3C7 100%);
    border-left-color: #fbc708;
    box-shadow: 0 0 0 1px rgba(251,199,8,0.2);
}
.promo-card-icon { font-size: 24px; flex-shrink: 0; }
.promo-card-title { font-size: 14px; font-weight: 600; color: var(--blue); }
.promo-card-text { font-size: 12px; color: var(--grey); margin-top: 2px; }
.promo-card-badge {
    margin-left: auto;
    font-size: 11px;
    background: #fbc708;
    color: var(--blue);
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

/* STATS */
.promo-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #E2E8F0;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}
.promo-stat {
    background: #fff;
    padding: 40px 24px;
    text-align: center;
}
.promo-stat-num {
    font-size: 48px;
    font-weight: 900;
    color: var(--blue);
    line-height: 1;
    margin-bottom: 8px;
}
.promo-stat-label {
    font-size: 14px;
    color: var(--grey);
}

/* SECTIONS */
.promo-section {
    padding: 80px 0;
}
.promo-section-alt { background: #F8FAFC; }
.promo-section .section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.promo-section .chip {
    display: inline-block;
    background: rgba(10,31,68,0.08);
    color: var(--blue);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.promo-section h2 {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.15;
    color: var(--blue);
    margin-bottom: 16px;
    letter-spacing: -0.8px;
}
.promo-section .section-header p {
    font-size: 17px;
    color: var(--grey);
    max-width: 640px;
    margin-bottom: 48px;
}
.promo-section .section-header { margin-bottom: 0; }

/* STEPS */
.promo-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.promo-step {
    background: #fff;
    padding: 32px 28px;
    border-radius: 14px;
    border: 1px solid #E2E8F0;
    transition: transform 0.2s, box-shadow 0.2s;
}
.promo-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px -10px rgba(10,31,68,0.15);
}
.promo-step-num {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--blue);
    color: var(--yellow);
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.promo-step h3 { font-size: 20px; margin-bottom: 10px; color: var(--blue); }
.promo-step p { color: var(--grey); line-height: 1.6; font-size: 15px; }

/* AUDIENCE */
.promo-audience {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.promo-audience-card {
    background: #fff;
    padding: 28px;
    border-radius: 14px;
    border: 1px solid #E2E8F0;
}
.promo-audience-emoji {
    font-size: 36px;
    margin-bottom: 14px;
}
.promo-audience-card h3 { font-size: 18px; color: var(--blue); margin-bottom: 8px; }
.promo-audience-card p { color: var(--grey); font-size: 14px; line-height: 1.55; }

/* FEATURES */
.promo-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.promo-feature {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    transition: all 0.2s;
}
.promo-feature:hover {
    border-color: var(--yellow);
    box-shadow: 0 4px 16px rgba(251,199,8,0.15);
}
.promo-feature-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #FFFBEB, #FEF3C7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 12px;
}
.promo-feature h3 { font-size: 16px; color: var(--blue); margin-bottom: 6px; }
.promo-feature p { color: var(--grey); font-size: 13px; line-height: 1.5; }

/* TESTIMONIALS */
.promo-testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.promo-testimonial {
    background: #fff;
    padding: 28px;
    border-radius: 14px;
    border: 1px solid #E2E8F0;
}
.promo-testimonial-stars {
    color: #fbc708;
    font-size: 18px;
    margin-bottom: 12px;
}
.promo-testimonial p {
    color: var(--blue);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
    font-style: italic;
}
.promo-testimonial-author {
    font-size: 13px;
    color: var(--grey);
    font-weight: 500;
}

/* PRICING */
.promo-pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}
.promo-plan {
    background: #fff;
    padding: 32px 28px;
    border-radius: 14px;
    border: 1px solid #E2E8F0;
    display: flex;
    flex-direction: column;
    position: relative;
}
.promo-plan-featured {
    border-color: var(--yellow);
    border-width: 2px;
    transform: scale(1.04);
    box-shadow: 0 20px 40px -15px rgba(251,199,8,0.3);
}
.promo-plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--yellow);
    color: var(--blue);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}
.promo-plan h3 {
    font-size: 20px;
    color: var(--blue);
    margin-bottom: 12px;
}
.promo-plan-price {
    font-size: 36px;
    font-weight: 900;
    color: var(--blue);
    margin-bottom: 24px;
}
.promo-plan-price span {
    font-size: 16px;
    color: var(--grey);
    font-weight: 500;
}
.promo-plan ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex: 1;
}
.promo-plan li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--grey);
    border-bottom: 1px solid #F1F5F9;
}
.promo-plan li:last-child { border-bottom: none; }
.promo-plan .btn { width: 100%; text-align: center; }

/* FAQ */
.promo-faq { max-width: 800px; }
.promo-faq details {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}
.promo-faq summary {
    padding: 18px 22px;
    font-size: 16px;
    font-weight: 600;
    color: var(--blue);
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: background 0.15s;
}
.promo-faq summary::-webkit-details-marker { display: none; }
.promo-faq summary::after {
    content: '+';
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--yellow);
    transition: transform 0.2s;
}
.promo-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.promo-faq summary:hover { background: #F8FAFC; }
.promo-faq details p {
    padding: 0 22px 18px;
    color: var(--grey);
    line-height: 1.6;
    font-size: 15px;
    margin: 0;
}

/* CTA FINAL */
.promo-cta-final {
    padding: 80px 0;
    background: linear-gradient(135deg, #0A1F44 0%, #132D5E 100%);
    text-align: center;
}
.promo-cta-final .btn { display: inline-block; }

/* FOOTER */
.promo-footer {
    padding: 32px 0;
    border-top: 1px solid #E2E8F0;
    font-size: 14px;
    color: var(--grey);
}
.promo-footer a:hover { color: var(--blue); }

/* RESPONSIVE */
@media (max-width: 900px) {
    .promo-hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .promo-hero-text h1 { font-size: 36px; }
    .promo-hero { padding: 50px 0 60px; }
    .promo-stats { grid-template-columns: repeat(2, 1fr); }
    .promo-steps, .promo-audience, .promo-features, .promo-testimonials, .promo-pricing {
        grid-template-columns: 1fr;
    }
    .promo-plan-featured { transform: none; }
    .promo-section h2 { font-size: 28px; }
    .promo-mockup { transform: none; }
}
@media (max-width: 500px) {
    .promo-trust { font-size: 12px; }
    .promo-cta-row { flex-direction: column; }
    .promo-cta-row .btn { width: 100%; text-align: center; }
}

/* ============================================
   SITE BASE — навигация, футер, модалка,
   страницы /about, /partners, /blog.
   (бывший site.css)
   ============================================ */

/* ==== Site layout (nav, footer, contact modal) — общие стили для всех публичных страниц ==== */

/* ── Навигация ── */
.promo-page .nav-inner {
    gap: 16px;
}
.promo-page .nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    flex: 1;
    justify-content: center;
}
.promo-page .nav-link {
    color: var(--blue);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    opacity: 0.78;
    transition: opacity 0.15s, color 0.15s;
    white-space: nowrap;
}
.promo-page .nav-link:hover { opacity: 1; color: var(--blue); }
.promo-page .nav-link.is-active {
    opacity: 1;
    color: var(--blue);
    position: relative;
}
.promo-page .nav-link.is-active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--yellow);
    transform: translateX(-50%);
}
.promo-page .nav-doc-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid rgba(10,31,68,0.15);
    transition: all 0.15s;
    white-space: nowrap;
}
.promo-page .nav-doc-link:hover {
    border-color: var(--blue);
    background: rgba(10,31,68,0.04);
}
.promo-page .nav-cta {
    padding: 10px 22px;
    background: linear-gradient(135deg, #FBC708 0%, rgba(255, 255, 255, 0.7) 100%);
    color: var(--blue);
    border: 2px solid rgba(15, 76, 129, 0.95);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}
.promo-page .nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(251, 199, 8, 0.35);
}

/* ── Футер ── */
.site-footer {
    background: #F8FAFC;
    color: var(--grey);
    padding: 64px 0 0;
    margin-top: 0;
    border-top: 1px solid #E2E8F0;
}
.site-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
}
.site-footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--blue);
    margin-bottom: 16px;
    font-size: 22px;
}
.site-footer-logo img { height: 32px; }
.site-footer-tagline {
    font-size: 14px;
    line-height: 1.6;
    max-width: 360px;
    color: var(--grey);
    margin-bottom: 16px;
}
.site-footer-contacts a {
    color: var(--blue);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}
.site-footer-col h4 {
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 18px;
}
.site-footer-col a {
    display: block;
    color: var(--grey);
    text-decoration: none;
    font-size: 14px;
    padding: 5px 0;
    transition: color 0.15s;
}
.site-footer-col a:hover { color: var(--blue); }
.site-footer-legal-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}
.site-footer-legal-links a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
}
.site-footer-legal-links a:hover { text-decoration: underline; }
.site-footer-copyright {
    font-size: 13px;
    color: var(--grey);
    text-align: center;
}
.site-footer-copyright a {
    color: var(--blue);
    text-decoration: none;
}
.site-footer-bottom {
    border-top: 1px solid #E2E8F0;
    padding: 24px 0 36px;
    font-size: 13px;
    color: var(--grey);
}

/* ── Блок мобильного приложения в футере ── */
.site-footer-mobile-app {
    border-top: 1px solid #E2E8F0;
    background: linear-gradient(135deg, #EFF6FF 0%, #FFFFFF 100%);
}
.site-footer-mobile-app-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 36px 0;
    flex-wrap: wrap;
}
.site-footer-mobile-app-icon {
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0F4C81 0%, #1E6AB1 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(15, 76, 129, 0.25);
}
.site-footer-mobile-app-text {
    flex: 1 1 240px;
    min-width: 200px;
}
.site-footer-mobile-app-text h3 {
    color: var(--blue);
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 4px;
}
.site-footer-mobile-app-text p {
    color: var(--grey);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}
.site-footer-mobile-app-actions {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}
.site-btn-apk {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    background: var(--blue) !important;
    color: #FFFFFF !important;
    border: 0 !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
    box-shadow: 0 4px 12px rgba(10, 31, 68, 0.25);
}
.site-btn-apk:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(10, 31, 68, 0.35) !important;
}
.site-btn-apk span {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.1;
}
.apk-label-top {
    font-size: 14px;
    font-weight: 700;
}
.apk-label-bottom {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.85;
    margin-top: 2px;
}
.site-footer-mobile-app-soon {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--grey);
}
@media (max-width: 640px) {
    .site-footer-mobile-app-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 0;
        gap: 16px;
    }
    .site-footer-mobile-app-actions {
        align-items: flex-start;
        width: 100%;
    }
    .site-btn-apk {
        width: 100%;
        justify-content: center;
    }
}
.site-footer-bottom-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

/* ── Модалка обратной связи ── */
.site-modal .site-modal-card {
    max-width: 460px;
    width: 92%;
    text-align: left;
    position: relative;
    padding: 36px 32px 28px;
}
.site-modal .site-modal-card .modal-icon {
    text-align: center;
    margin-bottom: 8px;
}
.site-modal .site-modal-card h3 {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 6px;
}
.site-modal-sub {
    text-align: center;
    font-size: 14px;
    color: var(--grey);
    margin-bottom: 22px;
}
.site-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: transparent;
    border: 0;
    font-size: 28px;
    line-height: 1;
    color: var(--grey);
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
}
.site-modal-close:hover { background: var(--grey-light); color: var(--blue); }
.site-modal-form { gap: 12px; align-items: stretch; }
.site-modal-form input,
.site-modal-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #E2E8F0;
    background: #F8FAFC;
    color: var(--blue);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s, background 0.15s;
}
.site-modal-form input::placeholder,
.site-modal-form textarea::placeholder { color: #94A3B8; }
.site-modal-form input:focus,
.site-modal-form textarea:focus {
    border-color: var(--yellow);
    background: #fff;
}
.site-modal-form textarea { resize: vertical; min-height: 72px; }
.site-modal-form .consent-label {
    color: var(--grey);
    font-size: 12px;
}
.site-modal-form .btn { width: 100%; justify-content: center; }

/* ── Hero (обновлённый) ── */

/* ── Placeholder для скриншотов (картинки) ── */
.screenshot-placeholder {
    background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%);
    border: 2px dashed #CBD5E1;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #64748B;
    text-align: center;
    padding: 32px 24px;
    gap: 8px;
}
.screenshot-placeholder .ph-icon { font-size: 40px; opacity: 0.7; }
.screenshot-placeholder .ph-title { font-weight: 700; color: var(--blue); font-size: 15px; }
.screenshot-placeholder .ph-sub { font-size: 13px; }
.screenshot-placeholder.screenshot-large { aspect-ratio: 16 / 9; min-height: 360px; }
.screenshot-placeholder.screenshot-medium { aspect-ratio: 4 / 3; min-height: 240px; }
.screenshot-placeholder.screenshot-wide { aspect-ratio: 21 / 9; min-height: 200px; }

.screenshot-img { width: 100%; height: auto; border-radius: 14px; display: block; }
.screenshot-img.screenshot-medium { aspect-ratio: 4 / 3; min-height: 240px; object-fit: cover; }
.screenshot-img.screenshot-large { aspect-ratio: 16 / 9; min-height: 360px; object-fit: cover; }
.screenshot-img.screenshot-wide { aspect-ratio: 21 / 9; min-height: 200px; object-fit: cover; }

/* ── Секция скриншотов продукта ── */
.screenshots-section { background: #fff; }
.screenshots-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
    margin-top: 48px;
}
.screenshots-row + .screenshots-row { margin-top: 24px; }
.screenshots-row.reverse { grid-template-columns: 1fr 1.4fr; }
.screenshot-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.screenshot-card .ph-block { flex: 1; }
.screenshot-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--blue);
}
.screenshot-card p {
    color: var(--grey);
    font-size: 14px;
    line-height: 1.6;
}

/* ── Секция "Как это работает" (steps) ── */

/* ── Аудитория (для кого) ── */

/* ── Секция интеграций (расширенная) ── */
.integrations-section { background: var(--grey-light); }
.integrations-extended-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    max-width: 980px;
    margin: 0 auto;
}

/* ── Секция цен (pricing) ── */
.pricing-section { background: #fff; }

/* ── FAQ ── */

/* ── CTA в конце ── */

/* ── Секции для страниц /about, /partners, /blog ── */
.page-hero {
    padding: 140px 24px 64px;
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
    text-align: center;
}
.page-hero-inner {
    max-width: 880px;
    margin: 0 auto;
}
.page-hero h1 {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -1.2px;
    color: var(--blue);
    margin-bottom: 18px;
    line-height: 1.1;
}
.page-hero h1 em {
    font-style: normal;
    color: #92750A;
    background: linear-gradient(180deg, transparent 60%, rgba(251,199,8,0.4) 60%);
    padding: 0 4px;
}
.page-hero p {
    font-size: 19px;
    line-height: 1.6;
    color: var(--grey);
    max-width: 720px;
    margin: 0 auto;
}
.page-chip {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    background: #fdf5d0;
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* ── Блог: сетка карточек ── */
.blog-section { background: #fff; }
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}
.blog-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px -16px rgba(10,31,68,0.18);
}
.blog-card-cover { padding: 0; }
.blog-card-cover .screenshot-placeholder {
    border: 0;
    border-radius: 0;
    min-height: 180px;
    aspect-ratio: 16 / 9;
}
.blog-card-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.blog-card-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.blog-card-tag {
    background: rgba(251,199,8,0.18);
    color: #92750A;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 700;
}
.blog-card h3 {
    font-size: 18px;
    color: var(--blue);
    line-height: 1.35;
    font-weight: 700;
}
.blog-card p {
    font-size: 14px;
    color: var(--grey);
    line-height: 1.55;
    flex: 1;
}
.blog-card-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}
.blog-card-link:hover { color: #92750A; }

/* ── Страница партнёров: блоки с цифрами ── */
.partners-tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 1080px;
    margin: 0 auto;
}
.partner-tier {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
}
.partner-tier.featured {
    border-color: var(--yellow);
    border-width: 2px;
}
.partner-tier h3 {
    font-size: 22px;
    color: var(--blue);
    margin-bottom: 6px;
}
.partner-tier-rate {
    font-size: 32px;
    font-weight: 900;
    color: #92750A;
    margin: 14px 0 6px;
    line-height: 1;
}
.partner-tier-rate span { font-size: 14px; color: var(--grey); font-weight: 500; }
.partner-tier p { font-size: 14px; color: var(--grey); margin-bottom: 16px; }
.partner-tier ul {
    list-style: none; padding: 0; margin: 0 0 24px; flex: 1;
}
.partner-tier li {
    font-size: 14px;
    color: var(--blue);
    padding: 6px 0;
    display: flex;
    gap: 8px;
}
.partner-tier li::before {
    content: '✓'; color: #16a34a; font-weight: 800; flex-shrink: 0;
}

/* ── Блок "Шаги для старта" ── */
.partner-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 980px;
    margin: 0 auto;
}
.partner-step {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 28px;
    position: relative;
}
.partner-step-num {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--yellow);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 16px;
}
.partner-step h3 { font-size: 17px; color: var(--blue); margin-bottom: 6px; }
.partner-step p { font-size: 14px; color: var(--grey); line-height: 1.55; }

/* ── Страница /about ── */
.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 1080px;
    margin: 0 auto;
}
.about-value {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 28px;
}
.about-value-emoji { font-size: 32px; margin-bottom: 12px; display: block; }
.about-value h3 { font-size: 18px; color: var(--blue); margin-bottom: 6px; }
.about-value p { font-size: 14px; color: var(--grey); line-height: 1.6; }

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    max-width: 980px;
    margin: 0 auto;
}
.about-stat {
    text-align: center;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 28px 20px;
}
.about-stat-num {
    font-size: 36px;
    font-weight: 900;
    color: #92750A;
    line-height: 1;
    margin-bottom: 8px;
}
.about-stat-label { font-size: 13px; color: var(--grey); }

.about-timeline {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    padding-left: 28px;
}
.about-timeline::before {
    content: '';
    position: absolute;
    left: 7px; top: 8px; bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--yellow) 0%, rgba(251,199,8,0.15) 100%);
}
.about-timeline-item {
    position: relative;
    padding-bottom: 28px;
}
.about-timeline-item::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--yellow);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--yellow);
}
.about-timeline-year {
    font-weight: 800;
    color: var(--blue);
    font-size: 16px;
    margin-bottom: 4px;
}
.about-timeline-item p {
    color: var(--grey);
    font-size: 15px;
    line-height: 1.6;
}

/* ── /about: блок "Команда" (карточки ролей) ── */
.about-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 820px;
    margin: 0 auto;
}
.about-team-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 28px 22px;
    text-align: center;
}
.about-team-emoji { font-size: 42px; margin-bottom: 10px; }
.about-team-role {
    font-weight: 700;
    color: var(--blue);
    font-size: 15px;
}
.about-team-desc {
    color: var(--grey);
    font-size: 13px;
    margin-top: 6px;
    line-height: 1.5;
}

/* ── /about: блок "Всё по закону" ── */
.about-legal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    max-width: 880px;
    margin: 0 auto;
}
.about-legal-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 24px;
}
.about-legal-card h3 {
    color: var(--blue);
    font-size: 17px;
    margin-bottom: 8px;
}
.about-legal-card p {
    color: var(--grey);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 14px;
}
.about-legal-btn { font-size: 13px; padding: 8px 16px; }

/* ── Адаптив ── */
@media (max-width: 1024px) {
    .site-footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .promo-page .nav-links { display: none; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .partners-tiers { grid-template-columns: repeat(2, 1fr); }
    .partner-steps { grid-template-columns: 1fr; }
    .about-values { grid-template-columns: repeat(2, 1fr); }
    .about-team-grid { grid-template-columns: repeat(2, 1fr); }
    .about-legal-grid { grid-template-columns: 1fr; }
    .screenshots-row, .screenshots-row.reverse { grid-template-columns: 1fr; }
    .integrations-extended-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
    .page-hero { padding-top: 110px; }
    .page-hero h1 { font-size: 32px; }
    .site-footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .promo-page .nav-doc-link { display: none; }
    .promo-page .nav-inner { flex-wrap: wrap; gap: 12px; }
    .blog-grid { grid-template-columns: 1fr; }
    .integrations-extended-grid { grid-template-columns: repeat(2, 1fr); }
    .partners-tiers { grid-template-columns: 1fr; gap: 16px; }
    .partners-tiers .partner-tier.featured { order: -1; }
    .about-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .about-stat { padding: 22px 14px; }
    .about-stat-num { font-size: 28px; }
    .about-values { grid-template-columns: 1fr; }
    .about-team-grid { grid-template-columns: 1fr; }
    .about-value { padding: 22px; }
    .partner-step { padding: 22px; }
    .site-modal .site-modal-card {
        width: 96%;
        max-width: none;
        padding: 24px 18px 22px;
        margin: 12px;
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - 24px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .site-modal .site-modal-card h3 { font-size: 19px; }
    .site-modal .site-modal-card .modal-icon { font-size: 44px; }
    .site-modal-sub { font-size: 13px; margin-bottom: 16px; }
    .site-modal-form input,
    .site-modal-form textarea { font-size: 16px; padding: 12px 14px; }
    .section-header h2, .site-hero h1, .site-cta h2 { font-size: 28px; }
    .section-inner, .site-footer-grid, .promo-hero-inner { padding-left: 16px; padding-right: 16px; }
    /* Принудительно отключаем горизонтальный overflow у body на мобиле */
    html, body { overflow-x: hidden; }
    main { overflow-x: hidden; }
}

/* ─── Pricing v2 (2026-08-07) — 4 карточки ─── */
.pricing-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}
.pricing-grid-v2 .pricing-card { font-size: 13px; }
.pricing-grid-v2 .pricing-card li::before { color: #10B981; }
@media (max-width: 1100px) {
    .pricing-grid-v2 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .pricing-grid-v2 { grid-template-columns: 1fr; }
}

/* ═══ Страница /pricing: построчные блоки тарифов ═══ */
.pricing-page .price-row {
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 48px;
    align-items: center;
    padding: 44px 0;
    border-bottom: 1px solid rgba(10, 31, 68, 0.08);
}
.pricing-page .price-row:last-child { border-bottom: none; }
.price-row--flip .price-row-media { order: 2; }
.price-row--flip .price-row-body { order: 1; }
.price-row-media { position: relative; }
.price-row-media img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(10, 31, 68, 0.16);
    display: block;
}
.price-row-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #10B981;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
}
.price-row-badge--hot { background: #F59E0B; box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4); }
.price-row-head {
    display: flex;
    align-items: baseline;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.price-row-name {
    font-size: 26px;
    font-weight: 800;
    color: #0A1F44;
}
.price-row-price {
    font-size: 30px;
    font-weight: 900;
    color: #0F4C81;
}
.price-row-price small {
    font-size: 14px;
    font-weight: 600;
    color: #64748B;
    margin-left: 6px;
}
.price-row-who {
    font-size: 16px;
    line-height: 1.65;
    color: #334155;
    margin: 0 0 16px;
}
.price-row-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 24px;
}
.price-row-list li {
    position: relative;
    padding-left: 26px;
    font-size: 15px;
    color: #1E293B;
    line-height: 1.5;
}
.price-row-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #10B981;
    font-weight: 800;
}
.price-row-note {
    font-size: 13.5px;
    color: #64748B;
    margin: 0 0 18px;
}
.price-row-cta { display: inline-block; width: auto; }
@media (max-width: 900px) {
    .pricing-page .price-row { grid-template-columns: 1fr; gap: 24px; padding: 32px 0; }
    .price-row--flip .price-row-media { order: 0; }
    .price-row--flip .price-row-body { order: 0; }
    .price-row-list { grid-template-columns: 1fr; }
}
