/* ============================================================
   NEW SELLING DESIGN SYSTEM — kontur-logiki.ru
   ============================================================ */

/* Scroll-Reveal Animation */
.reveal-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ── Hero V2 ─────────────────────────────────────────── */
.hero-v2 {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #1e40af 100%);
    color: #fff;
    padding: 5rem 0 4rem;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-v2__bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.hero-v2__inner {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-v2__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 100px;
    padding: 0.375rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    margin-bottom: 1.75rem;
    letter-spacing: 0.01em;
}

.hero-v2__badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25);
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25); }
    50% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0.1); }
}

.hero-v2__title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
    letter-spacing: -0.02em;
}

.hero-v2__title-accent {
    color: #60a5fa;
    display: block;
}

.hero-v2__subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
    margin-bottom: 2.5rem;
    max-width: 560px;
}

.hero-v2__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-v2__btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.hero-v2__btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.5);
}

.hero-v2__btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    color: #2563eb;
    border: 1.5px solid #2563eb;
    border-radius: 8px;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.15s;
}

.hero-v2__btn-secondary:hover {
    background: #eff6ff;
    transform: translateY(-1px);
}

.hero-v2__btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 8px;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.hero-v2__btn-ghost:hover {
    border-color: rgba(255,255,255,0.5);
    color: #fff;
    background: rgba(255,255,255,0.06);
}

.hero-v2__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.hero-v2__trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.65);
}

.hero-v2__trust-item svg {
    width: 16px;
    height: 16px;
    color: #4ade80;
    flex-shrink: 0;
}

/* Hero Form Card */
.hero-v2__form-wrap {
    position: relative;
}

.hero-v2__form-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.25rem;
    box-shadow: 0 24px 64px rgba(0,0,0,0.35);
    position: relative;
    overflow: hidden;
}

.hero-v2__form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #059669);
}

.hero-v2__form-header {
    margin-bottom: 1.5rem;
}

.hero-v2__form-tag {
    display: inline-block;
    background: rgba(5, 150, 105, 0.1);
    color: #059669;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-v2__form-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.hero-v2__form-desc {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
}

.hero-v2__form {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.hero-v2__field input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9375rem;
    color: #1f2937;
    transition: border-color 0.2s;
    outline: none;
    background: #fafafa;
}

.hero-v2__field input:focus {
    border-color: #2563eb;
    background: #fff;
}

.hero-v2__submit {
    width: 100%;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    margin-top: 0.25rem;
}

.hero-v2__submit:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.hero-v2__privacy {
    font-size: 0.75rem;
    color: #9ca3af;
    text-align: center;
    margin-top: 0.25rem;
}

/* Scroll hint */
.hero-v2__scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.35);
    font-size: 0.75rem;
    animation: scroll-bounce 2s ease-in-out infinite;
}

.hero-v2__scroll-line {
    width: 1px;
    height: 32px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.4));
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ── Stats V2 ─────────────────────────────────────────── */
.stats-v2__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
}

.stats-v2__item {
    padding: 2.5rem 2rem;
    text-align: center;
    border-right: 1px solid #e5e7eb;
    position: relative;
}

.stats-v2__item:last-child {
    border-right: none;
}

.stats-v2__value {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    color: #2563eb;
    line-height: 1;
    display: inline;
}

.stats-v2__suffix {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2563eb;
    display: inline;
    margin-left: 2px;
}

.stats-v2__label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
    line-height: 1.4;
}

/* ── Compare Section ─────────────────────────────────── */
.section--dark-alt {
    background: #0f172a;
    color: #fff;
}

.compare__header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #60a5fa;
    margin-bottom: 1rem;
}

.compare__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.compare__subtitle {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.6);
    max-width: 600px;
    margin: 0 auto;
}

.compare__grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    align-items: start;
}

.compare__col {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 2rem;
}

.compare__col--market {
    border-color: rgba(239, 68, 68, 0.25);
    background: rgba(239, 68, 68, 0.04);
}

.compare__col--custom {
    border-color: rgba(74, 222, 128, 0.25);
    background: rgba(74, 222, 128, 0.04);
}

.compare__col-header {
    margin-bottom: 1.75rem;
}

.compare__col-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.compare__col-badge--bad {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
}

.compare__col-badge--good {
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
}

.compare__col-desc {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
}

.compare__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.compare__item {
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.compare__item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.compare__item--bad {
    color: rgba(255,255,255,0.75);
}

.compare__item--bad svg {
    color: #ef4444;
}

.compare__item--good {
    color: rgba(255,255,255,0.9);
}

.compare__item--good svg {
    color: #4ade80;
}

.compare__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
    padding-top: 6rem;
}

.compare__divider span {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.05em;
}

.compare__cta {
    text-align: center;
    margin-top: 3rem;
}

.compare__cta-btn {
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 1rem 2.5rem;
    font-size: 1.0625rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.compare__cta-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.5);
}

/* ── Service Card updated ─────────────────────────────── */
.service-card__icon-wrap {
    width: 52px;
    height: 52px;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    margin-bottom: 1.25rem;
    transition: background 0.2s;
}

.service-card:hover .service-card__icon-wrap {
    background: rgba(37, 99, 235, 0.14);
}

.service-card__arrow {
    display: block;
    margin-top: 1rem;
    color: #2563eb;
    font-weight: 600;
    font-size: 1.125rem;
    transition: transform 0.2s;
}

.service-card:hover .service-card__arrow {
    transform: translateX(4px);
}

/* Section header with subtitle */
.section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.section__subtitle {
    color: #6b7280;
    font-size: 1.0625rem;
    margin-top: 0.75rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Industry Card V2 ─────────────────────────────────── */
.industry-card-v2 {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
    gap: 0.75rem;
}

.industry-card-v2:hover {
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.1);
    transform: translateY(-3px);
    border-color: #bfdbfe;
    color: inherit;
}

.industry-card-v2__icon {
    width: 56px;
    height: 56px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.industry-card-v2__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

.industry-card-v2__desc {
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.6;
    flex: 1;
}

.industry-card-v2__link {
    font-weight: 600;
    color: #2563eb;
    font-size: 0.9375rem;
    margin-top: 0.5rem;
}

/* ── Case Card V2 ─────────────────────────────────────── */
.case-card-v2 {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    transition: box-shadow 0.25s, transform 0.25s;
    display: flex;
    flex-direction: column;
}

.case-card-v2:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.case-card-v2__metric-bar {
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    padding: 1.5rem 1.75rem;
    display: flex;
    align-items: baseline;
    gap: 0.625rem;
}

.case-card-v2__big-metric {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.case-card-v2__metric-label {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.3;
}

.case-card-v2__tags {
    display: flex;
    gap: 0.5rem;
    padding: 1.25rem 1.75rem 0;
}

.case-card-v2__title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1f2937;
    padding: 0.75rem 1.75rem 0.5rem;
    line-height: 1.35;
}

.case-card-v2__desc {
    font-size: 0.875rem;
    color: #6b7280;
    padding: 0 1.75rem 1rem;
    flex: 1;
}

.case-card-v2__link {
    display: block;
    padding: 1rem 1.75rem;
    border-top: 1px solid #f3f4f6;
    font-weight: 600;
    color: #2563eb;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: color 0.2s;
}

.case-card-v2__link:hover {
    color: #1d4ed8;
}

/* Tag color variants */
.tag--mes {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}

.tag--wms {
    background: rgba(5, 150, 105, 0.1);
    color: #059669;
}

.tag--portal {
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
}

.tag--security {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
}

/* ── Process V2 ───────────────────────────────────────── */
.process-v2__timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 820px;
    margin: 0 auto;
}

.process-v2__step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 1.5rem;
    position: relative;
}

.process-v2__step-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-v2__step-num {
    width: 40px;
    height: 40px;
    background: #2563eb;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9375rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.process-v2__step-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(to bottom, #2563eb, #bfdbfe);
    margin-top: 4px;
    min-height: 40px;
}

.process-v2__step-body {
    padding-bottom: 2.5rem;
}

.process-v2__step-badge {
    display: inline-block;
    background: rgba(5, 150, 105, 0.1);
    color: #059669;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.625rem;
    border-radius: 100px;
    margin-bottom: 0.5rem;
}

.process-v2__step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.625rem;
}

.process-v2__step-desc {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 0.875rem;
}

.process-v2__step-result {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.06);
    padding: 0.4rem 0.875rem;
    border-radius: 6px;
}

/* ── Philosophy updated ───────────────────────────────── */
.philosophy__quote-mark {
    font-size: 5rem;
    line-height: 0.5;
    color: #2563eb;
    font-family: Georgia, serif;
    margin-bottom: 1rem;
    opacity: 0.4;
}

.philosophy__cite {
    display: block;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    font-style: normal;
    color: #9ca3af;
}

/* ── Next Steps ───────────────────────────────────────── */
.next-steps__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.next-step-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    position: relative;
    overflow: hidden;
}

.next-step-card:hover {
    border-color: #2563eb;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
    color: inherit;
}

.next-step-card__num {
    font-size: 3rem;
    font-weight: 800;
    color: #eff6ff;
    line-height: 1;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    letter-spacing: -0.04em;
}

.next-step-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    padding-right: 3rem;
}

.next-step-card p {
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.6;
}

.next-step-card__link {
    font-weight: 600;
    color: #2563eb;
    font-size: 0.9375rem;
    margin-top: auto;
}

.next-step-card--featured {
    border-color: #2563eb;
    background: linear-gradient(135deg, #eff6ff 0%, #fff 100%);
}
.next-step-card--featured .next-step-card__num { color: #bfdbfe; }
.next-step-card--featured h3 { color: #1d4ed8; }
.next-step-card--featured .next-step-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: #2563eb;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: background 0.15s;
}
.next-step-card--featured:hover .next-step-card__link { background: #1d4ed8; }
.next-step-card--featured:hover {
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.18);
    border-color: #1d4ed8;
}

/* Responsive additions */
@media (max-width: 1024px) {
    .hero-v2__inner {
        grid-template-columns: 1fr;
    }
    .hero-v2__form-wrap {
        max-width: 480px;
    }
    .stats-v2__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-v2__item:nth-child(2) {
        border-right: none;
    }
    .stats-v2__item:nth-child(3),
    .stats-v2__item:nth-child(4) {
        border-top: 1px solid #e5e7eb;
    }
    .compare__grid {
        grid-template-columns: 1fr;
    }
    .compare__divider {
        display: none;
    }
    .next-steps__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-v2 {
        min-height: auto;
        padding: 4rem 0 3rem;
    }
    .hero-v2__scroll-hint {
        display: none;
    }
    .stats-v2__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-v2__step {
        grid-template-columns: 40px 1fr;
        gap: 1rem;
    }
}

/* ── Industry Page Components ─────────────────────────── */
.industry-pains {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.industry-pain {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.industry-pain:hover {
    border-color: #fca5a5;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.06);
}

.industry-pain__icon {
    width: 48px;
    height: 48px;
    background: rgba(239, 68, 68, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
}

.industry-pain__title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1f2937;
}

.industry-pain__desc {
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.65;
}

.industry-solutions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.industry-solution {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.industry-solution:hover {
    border-color: #bfdbfe;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.07);
}

.industry-solution__num {
    font-size: 3.5rem;
    font-weight: 800;
    color: #eff6ff;
    line-height: 1;
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    letter-spacing: -0.04em;
}

.industry-solution h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1f2937;
    padding-right: 3rem;
}

.industry-solution p {
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.65;
}

.industry-case {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 0;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
}

.industry-case__metric {
    background: linear-gradient(135deg, #1e3a5f, #2563eb);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2rem;
    gap: 0.5rem;
    text-align: center;
}

.industry-case__big {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    display: block;
}

.industry-case__label {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.75);
    display: block;
}

.industry-case__body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.industry-case__tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.industry-case__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

.industry-case__desc {
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.7;
    flex: 1;
}

@media (max-width: 768px) {
    .industry-pains,
    .industry-solutions {
        grid-template-columns: 1fr;
    }
    .industry-case {
        grid-template-columns: 1fr;
    }
    .industry-case__metric {
        padding: 1.5rem;
        flex-direction: row;
        gap: 1rem;
        justify-content: flex-start;
    }
}

/* ── Services Hero ────────────────────────────────────── */
.services-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #1e40af 100%);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
}

.services-hero__content {
    position: relative;
    max-width: 700px;
}

.services-hero__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.services-hero__desc {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.services-hero__actions {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    flex-wrap: wrap;
}

.services-hero__link {
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.2s;
}

.services-hero__link:hover {
    color: #fff;
}

/* ── Cost Table ───────────────────────────────────────── */
.cost-table {
    overflow-x: auto;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.cost-table__el {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 0.9375rem;
}

.cost-table__el thead tr {
    background: #1e3a5f;
}

.cost-table__el th {
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9375rem;
    vertical-align: top;
    color: #fff;
}

.cost-table__el th span {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.7;
    margin-top: 0.25rem;
}

.cost-table__th--bad {
    color: #fca5a5;
    border-left: 1px solid rgba(255,255,255,0.1);
}

.cost-table__th--good {
    color: #4ade80;
    border-left: 1px solid rgba(255,255,255,0.1);
}

.cost-table__el thead .cost-table__param {
    color: #fff;
}

.cost-table__param {
    padding: 1rem 1.5rem;
    font-weight: 500;
    color: #374151;
    min-width: 200px;
}

.cost-table__cell {
    padding: 1rem 1.5rem;
    border-left: 1px solid #f3f4f6;
    font-weight: 500;
}

.cost-table__cell--bad {
    color: #ef4444;
}

.cost-table__cell--neutral {
    color: #6b7280;
}

.cost-table__cell--good {
    color: #059669;
}

.cost-table__row--alt td {
    background: #f9fafb;
}

.cost-table__row--highlight td {
    background: #eff6ff;
    font-weight: 700;
    border-top: 2px solid #bfdbfe;
}

.cost-table__row--highlight .cost-table__cell--bad {
    color: #dc2626;
}

.cost-table__row--highlight .cost-table__cell--good {
    color: #059669;
}

@media (max-width: 768px) {
    .cost-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        display: block;
    }
    .cost-table__el {
        min-width: 560px;
    }
    .cost-table__el th,
    .cost-table__el td {
        padding: 0.5rem 0.625rem;
        font-size: 0.8125rem;
    }
    .cost-table__param {
        min-width: 120px;
    }
    .cost-table__cell {
        word-break: break-word;
    }
}

/* ============================================================
   END NEW SELLING DESIGN SYSTEM
   ============================================================ */

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-accent: #059669;
    --color-dark: #1f2937;
    --color-gray: #6b7280;
    --color-gray-light: #f3f4f6;
    --color-white: #ffffff;
    --color-border: #e5e7eb;
    
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'SF Mono', Monaco, monospace;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    
    --radius: 8px;
    --radius-lg: 16px;
    
    --container-max: 1200px;
    --container-padding: 1rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--color-dark);
    background: var(--color-white);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    color: var(--color-primary-dark);
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    z-index: 100;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo__img {
    max-width: 200px;
    width: auto;
    height: auto;
    display: block;
}

.footer .logo__img {
    max-width: 160px;
}

/* Legacy text logo styles (fallback) */
.logo__main { color: var(--color-primary); }
.logo__sub { font-size: 0.875rem; font-weight: 500; }

.nav__menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav__link {
    color: var(--color-dark);
    font-weight: 500;
    padding: 0.5rem 0;
}

.nav__submenu {
    display: none;
    position: absolute;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    list-style: none;
    padding: 0.5rem 0;
    min-width: 200px;
}

.nav__submenu a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--color-dark);
}

.nav__item:hover .nav__submenu {
    display: block;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header__phone {
    color: var(--color-dark);
    font-weight: 500;
    white-space: nowrap;
}

.header-mobile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--color-gray-light, #f3f4f6);
    color: var(--color-dark, #1f2937);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.15s;
}

.header-mobile-btn:hover {
    background: var(--color-primary-light, #e3ecfa);
    color: var(--color-primary, #2563eb);
}

.header-mobile-btn:active {
    transform: scale(0.92);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav__toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-dark);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.2s;
    font-size: 1rem;
}

.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}

.btn--primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn--primary:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
}

.btn--accent {
    background: var(--color-accent);
    color: var(--color-white);
}

.btn--accent:hover {
    background: #047857;
    color: var(--color-white);
}

.btn--outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn--outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn--ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.85);
}

.btn--ghost:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.btn--lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn--full {
    width: 100%;
}

/* Author photo */
.author-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a5f, #2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 2rem;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}
.author-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}
.author-photo--sm {
    width: 48px;
    height: 48px;
    font-size: 0.875rem;
}
.author-photo--md {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
}

/* Hero */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--color-gray-light) 0%, var(--color-white) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero__title {
    margin-bottom: 1rem;
}

.hero__subtitle {
    font-size: 1.25rem;
    color: var(--color-gray);
    margin-bottom: 2rem;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__form {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero__form-title {
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Forms */
.form__group {
    margin-bottom: 1rem;
}

.form__label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
}

.form__input,
.form__textarea,
.form__select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form__textarea {
    resize: vertical;
    min-height: 100px;
}

.form__privacy {
    font-size: 0.75rem;
    color: var(--color-gray);
    text-align: center;
    margin-top: 1rem;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section--gray {
    background: var(--color-gray-light);
}

.section--dark {
    background: var(--color-dark);
    color: var(--color-white);
}

.section__title {
    text-align: center;
    margin-bottom: 3rem;
}

.section__footer {
    text-align: center;
    margin-top: 3rem;
}

/* Services */
.services__grid,
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 640px) {
    .services__grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .service-card {
        padding: 1.5rem;
    }
}

.service-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-card__icon {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.service-card__title {
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.service-card__desc {
    color: var(--color-gray);
}

/* Industries */
.industries__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.industry-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: box-shadow 0.2s;
}

.industry-card:hover {
    box-shadow: var(--shadow-lg);
}

.industry-card__image {
    height: 160px;
    background: var(--color-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.industry-card__placeholder {
    font-size: 3rem;
}

.industry-card__title {
    padding: 1.5rem 1.5rem 0.5rem;
}

.industry-card__desc {
    padding: 0 1.5rem 1.5rem;
    color: var(--color-gray);
}

/* Cases */
.cases__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.cases__grid--full {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
    .cases__grid--full {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .cases__grid--full {
        grid-template-columns: 1fr;
    }
}

.case-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.case-card--large {
    grid-column: 1 / -1;
}

.case-card__tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    background: var(--color-gray-light);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-gray);
}

.case-card__title {
    margin-bottom: 1rem;
}

.case-card__desc {
    color: var(--color-gray);
    margin-bottom: 1.5rem;
}

.case-card__link {
    font-weight: 500;
}

/* Process */
.process__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process__step {
    position: relative;
    padding-left: 3rem;
}

.process__step-num {
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.process__step-title {
    margin-bottom: 0.5rem;
}

.process__step-desc {
    color: var(--color-gray);
}

/* Philosophy */
.philosophy__quote {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.philosophy__quote p {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    font-style: italic;
}

/* CTA */
.cta__content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta__title {
    margin-bottom: 1rem;
}

.cta__desc {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* CTA trust signals */
.cta__trust {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.cta__trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
}

.cta__trust-item svg {
    color: #34d399;
    flex-shrink: 0;
}

/* Testimonial metric badge */
.testimonial-card__metric {
    display: inline-block;
    background: linear-gradient(135deg, #1e3a5f, #2563eb);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 0.875rem;
    letter-spacing: 0.02em;
}

/* About Bio layout */
.about-bio {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.about-bio__text-col p {
    color: #4b5563;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.about-bio__text-col p:last-child {
    margin-bottom: 0;
}

/* About Skills */
.about-skills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.about-skill-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.75rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.about-skill-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 6px 20px rgba(37,99,235,0.07);
}

.about-skill-card__icon {
    width: 44px;
    height: 44px;
    background: #eff6ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    margin-bottom: 1rem;
}

.about-skill-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.about-skill-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.about-skill-card ul li {
    font-size: 0.875rem;
    color: #6b7280;
    padding-left: 1rem;
    position: relative;
}

.about-skill-card ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: #d1d5db;
}

/* About Stack */
.about-stack {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.about-stack__group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.about-stack__label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
}

.about-stack__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.about-stack__note {
    font-size: 0.9375rem;
    color: #6b7280;
    border-left: 3px solid #2563eb;
    padding-left: 1rem;
    max-width: 640px;
}

/* About Cases List */
.about-cases {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
}

.about-case-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.125rem 1.5rem;
    text-decoration: none;
    color: #1f2937;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s;
}

.about-case-link:last-child {
    border-bottom: none;
}

.about-case-link:hover {
    background: #f8fafc;
}

.about-case-link span:nth-child(2) {
    flex: 1;
    font-size: 0.9375rem;
}

.about-case-link svg {
    color: #9ca3af;
    flex-shrink: 0;
    transition: color 0.15s, transform 0.15s;
}

.about-case-link:hover svg {
    color: #2563eb;
    transform: translateX(3px);
}

@media (max-width: 1024px) {
    .about-stack {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-bio {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-skills {
        grid-template-columns: 1fr;
    }
    .about-stack {
        grid-template-columns: 1fr 1fr;
    }
    .cta__trust {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
}

/* ── Audit Page ───────────────────────────────────────── */
.audit-hero__deliverables {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-top: 1.75rem;
}

.audit-deliverable {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.85);
}

.audit-deliverable svg {
    color: #34d399;
    flex-shrink: 0;
    margin-top: 2px;
}

.audit-layout {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 3rem;
    align-items: start;
}

/* Left column */
.audit-info__title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.audit-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 2.5rem;
}

.audit-step {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 1rem;
    padding-bottom: 1.5rem;
    position: relative;
}

.audit-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 40px;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
}

.audit-step__num {
    width: 40px;
    height: 40px;
    background: #2563eb;
    color: #fff;
    font-weight: 700;
    font-size: 0.9375rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.audit-step__body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.375rem;
    padding-top: 0.5rem;
}

.audit-step__body p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.65;
}

/* Audit cases sidebar */
.audit-cases__title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    padding-top: 0.5rem;
    border-top: 2px solid #e5e7eb;
}

.audit-case-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.audit-case-item:last-child {
    border-bottom: none;
}

.audit-case-item__metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3a5f, #2563eb);
    border-radius: 10px;
    padding: 0.5rem 0.25rem;
    text-align: center;
}

.audit-case-item__val {
    font-size: 1.125rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.audit-case-item__sub {
    font-size: 0.6875rem;
    color: rgba(255,255,255,0.7);
    margin-top: 2px;
}

.audit-case-item__tag {
    margin-bottom: 0.375rem;
}

.audit-case-item__body p {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 0.375rem;
}

.audit-case-item__body a {
    font-size: 0.8125rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.audit-case-item__body a:hover {
    text-decoration: underline;
}

/* Right column — form card */
.audit-form-wrap {
    position: sticky;
    top: 5rem;
}

.audit-form-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.audit-form-card__header {
    background: linear-gradient(135deg, #1e3a5f, #2563eb);
    padding: 1.5rem 1.75rem;
}

.audit-form-card__badge {
    display: inline-block;
    background: rgba(52,211,153,0.2);
    border: 1px solid rgba(52,211,153,0.4);
    color: #34d399;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.2rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 0.625rem;
}

.audit-form-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.375rem;
}

.audit-form-card__desc {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
}

.audit-form {
    padding: 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
}

.audit-form__step {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.audit-form__step-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.audit-form__step-num {
    width: 22px;
    height: 22px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.audit-form .form__textarea {
    font-size: 0.875rem;
    padding: 0.625rem 0.875rem;
    resize: none;
}

.audit-form__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.audit-chip {
    cursor: pointer;
}

.audit-chip input {
    display: none;
}

.audit-chip span {
    display: inline-block;
    padding: 0.3rem 0.875rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 20px;
    font-size: 0.875rem;
    color: #4b5563;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    cursor: pointer;
}

.audit-chip:hover span {
    border-color: #93c5fd;
    background: #eff6ff;
    color: #2563eb;
}

.audit-chip--active span {
    border-color: #2563eb;
    background: #2563eb;
    color: #fff;
}

.audit-form__contacts {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.audit-form__contacts .form__input {
    font-size: 0.875rem;
}

.audit-form__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: #059669;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.audit-form__submit:hover {
    background: #047857;
    transform: translateY(-1px);
}

.audit-form__note {
    font-size: 0.8125rem;
    color: #9ca3af;
    text-align: center;
    line-height: 1.5;
}

.audit-form__note a {
    color: #2563eb;
    text-decoration: none;
}

.audit-form__note a:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .audit-layout {
        grid-template-columns: 1fr;
    }
    .audit-form-wrap {
        position: static;
    }
}

/* ── Calculator Page ──────────────────────────────────── */
.calc-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 3rem;
    align-items: start;
}

.calc-inputs__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.calc-type-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.calc-type-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    padding: 0.75rem 0.5rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.calc-type-btn:hover {
    border-color: #93c5fd;
    color: #2563eb;
    background: #eff6ff;
}

.calc-type-btn--active {
    border-color: #2563eb;
    background: #2563eb;
    color: #fff;
}

.calc-type-btn--active svg {
    stroke: #fff;
}

.calc-sliders {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.calc-slider-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.calc-slider-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
}

.calc-slider-val {
    font-weight: 700;
    color: #2563eb;
    min-width: 2rem;
    text-align: right;
}

.calc-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 4px;
    background: #e5e7eb;
    outline: none;
    cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2563eb;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(37,99,235,0.3);
    transition: transform 0.1s;
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.calc-options {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 1.5rem;
}

.calc-option-toggle {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #374151;
    user-select: none;
}

.calc-option-toggle__track {
    width: 44px;
    height: 24px;
    background: #d1d5db;
    border-radius: 12px;
    position: relative;
    flex-shrink: 0;
    transition: background 0.2s;
}

.calc-option-toggle__track--on {
    background: #2563eb;
}

.calc-option-toggle__thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    transition: transform 0.2s;
}

.calc-option-toggle__track--on .calc-option-toggle__thumb {
    transform: translateX(20px);
}

.calc-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: #9ca3af;
    line-height: 1.5;
}

.calc-disclaimer svg {
    flex-shrink: 0;
    margin-top: 1px;
}

/* Right: result */
.calc-result {
    position: sticky;
    top: 5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.calc-result__card {
    background: linear-gradient(135deg, #1e3a5f, #1e40af);
    border-radius: 20px;
    padding: 2rem;
    color: #fff;
}

.calc-result__label {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.5rem;
}

.calc-result__price {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.calc-result__rows {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 1.25rem;
}

.calc-result__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.calc-result__row span {
    color: rgba(255,255,255,0.65);
}

.calc-result__row strong {
    color: #fff;
    font-weight: 700;
}

.calc-result__factors {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    min-height: 1.5rem;
}

.calc-factor-tag {
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.85);
    padding: 0.2rem 0.625rem;
    border-radius: 20px;
}

.calc-result__cta {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calc-result__cta > p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
}

.calc-result__send {
    border-top: 1px solid #f3f4f6;
    padding-top: 1rem;
}

.calc-result__send-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.75rem;
}

.calc-send-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.calc-send-form .form__input {
    font-size: 0.875rem;
}

/* Calculator detailed params */
.calc-params-group {
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.calc-params-group--active {
    display: flex;
}
.calc-params-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.25rem;
}
.calc-params-sub {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}
.calc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.calc-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 9999px;
    background: #fff;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
    user-select: none;
}
.calc-chip:hover {
    border-color: #93c5fd;
    color: #2563eb;
    background: #eff6ff;
}
.calc-chip--active {
    border-color: #2563eb;
    background: #2563eb;
    color: #fff;
}
.calc-chip--active svg {
    stroke: #fff;
}
.calc-counter {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.calc-counter__btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #374151;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, border-color 0.15s;
}
.calc-counter__btn:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}
.calc-counter__val {
    min-width: 2rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #2563eb;
}
.calc-offer {
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    background: #fefce8;
    border: 1px solid #fde047;
    border-radius: 12px;
    font-size: 0.8125rem;
    color: #854d0e;
    line-height: 1.5;
}
.calc-offer strong {
    color: #713f12;
}

@media (max-width: 1024px) {
    .calc-layout {
        grid-template-columns: 1fr;
    }
    .calc-result {
        position: static;
    }
}

@media (max-width: 480px) {
    .calc-type-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Page Header */
.page-header {
    padding: 4rem 0;
    background: var(--color-gray-light);
    text-align: center;
}

.page-header--simple {
    padding: 2rem 0;
}

.page-header__title {
    margin-bottom: 1rem;
}

.page-header__desc {
    color: var(--color-gray);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Detail */
.services-detail__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-detail {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.service-detail__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-detail__title {
    margin-bottom: 1rem;
}

.service-detail__desc {
    color: var(--color-gray);
    margin-bottom: 1.5rem;
}

.service-detail__features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-detail__features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-detail__features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

/* About Page */
.about__layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
}

.about__profile {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.about__photo-placeholder {
    width: 200px;
    height: 200px;
    background: var(--color-gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    margin-bottom: 1.5rem;
    color: var(--color-gray);
}

.about__photo-placeholder svg {
    width: 5rem;
    height: 5rem;
}

.about__name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.about__role {
    color: var(--color-gray);
    margin-bottom: 1rem;
}

.about__meta {
    font-size: 0.875rem;
}

.about__meta p {
    margin-bottom: 0.5rem;
}

.about__content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.about__content h2:first-child {
    margin-top: 0;
}

.about__content p {
    margin-bottom: 1rem;
}

.about__content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.about__content li {
    margin-bottom: 0.5rem;
}

.about__skills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.skill-group h4 {
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

.skill-group ul {
    list-style: none;
    padding: 0;
}

.about__tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: var(--color-gray-light);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-family: var(--font-mono);
}

.about__projects-list {
    list-style: none;
    padding: 0;
}

.about__projects-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
}

.modal.active {
    display: block;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.modal__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-gray);
}

.modal__title {
    margin-bottom: 1.5rem;
}

/* Icons */
.service-card__icon,
.industry-card__icon,
.service-detail__icon {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.industry-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray-light);
    border-radius: var(--radius);
}

/* Industry Page Components */
.page-header__badge {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.problem-card {
    background: var(--color-gray-light);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--color-primary);
}

.problem-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--color-dark);
}

.problem-card p {
    color: var(--color-gray);
    font-size: 0.95rem;
}

.solutions-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.solution-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.solution-item__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border-radius: var(--radius);
}

.solution-item__content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.solution-item__content p {
    color: var(--color-gray);
    font-size: 0.95rem;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.audience-item {
    background: var(--color-gray-light);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.audience-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.audience-item p {
    color: var(--color-gray);
    font-size: 0.95rem;
}

.case-preview {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    margin-top: 2rem;
}

.case-preview__tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.case-preview__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.case-preview__desc {
    color: var(--color-gray);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.service-card__icon img,
.industry-card__icon img,
.service-detail__icon img {
    filter: invert(37%) sepia(61%) saturate(4893%) hue-rotate(207deg) brightness(97%) contrast(93%);
}

.process__step-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    color: var(--color-primary);
}

.process__step-icon img {
    filter: invert(37%) sepia(61%) saturate(4893%) hue-rotate(207deg) brightness(97%) contrast(93%);
}

/* Floating Panel */
.floating-panel {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.floating-panel__toggle {
    gap: 0.625rem;
    border-radius: 100px;
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.floating-panel__toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.5);
}

.floating-panel__icon-close {
    display: none;
}

.floating-panel.open .floating-panel__icon-open {
    display: none;
}

.floating-panel.open .floating-panel__icon-close {
    display: block;
}

.floating-panel.open .floating-panel__label {
    display: none;
}

.floating-panel__menu {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.25rem;
    min-width: 220px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
    animation: panel-appear 0.2s ease;
}

.floating-panel.open .floating-panel__menu {
    display: flex;
}

@keyframes panel-appear {
    from { opacity: 0; transform: translateY(8px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.floating-panel__menu-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.375rem;
}

.floating-panel__menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: background 0.15s;
    width: 100%;
}

.floating-panel__menu-item--primary {
    background: #eff6ff;
    color: #2563eb;
}

.floating-panel__menu-item--primary:hover {
    background: #dbeafe;
}

.floating-panel__menu-item--tg {
    background: rgba(0, 136, 204, 0.08);
    color: #0088cc;
}

.floating-panel__menu-item--tg:hover {
    background: rgba(0, 136, 204, 0.15);
}

.floating-panel__menu-item--wa {
    background: rgba(37, 211, 102, 0.08);
    color: #25d366;
}

.floating-panel__menu-item--wa:hover {
    background: rgba(37, 211, 102, 0.15);
}

/* Footer */
.footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 4rem 0 2rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__brand .logo {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.footer__tagline {
    color: var(--color-gray);
}

.footer__nav h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer__nav ul {
    list-style: none;
}

.footer__nav li {
    margin-bottom: 0.5rem;
}

.footer__nav a {
    color: var(--color-gray);
}

.footer__nav a:hover {
    color: var(--color-white);
}

.footer__contacts a {
    color: var(--color-white);
}

.footer__socials {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer__socials a {
    color: var(--color-gray);
}

.footer__socials a:hover {
    color: var(--color-white);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: var(--color-gray);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .about__layout {
        grid-template-columns: 1fr;
    }
    
    .about__profile {
        position: static;
        text-align: center;
    }
    
    .about__photo-placeholder {
        margin: 0 auto 1.5rem;
    }
    
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Hero extras */
.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    font-size: 0.875rem;
    color: var(--color-gray);
}

.hero__trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero__trust-item svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-accent);
    flex-shrink: 0;
}

/* Stats */
.stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stats__item {
    padding: 1.5rem;
}

.stats__value {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}

.stats__label {
    color: var(--color-gray);
    margin-top: 0.5rem;
}

/* Why us */
.why-us__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.why-us__card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.why-us__card h3 {
    margin-bottom: 0.75rem;
    color: var(--color-dark);
}

.why-us__card p {
    color: var(--color-gray);
}

.why-us__card--link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.why-us__card--link:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.why-us__card--link .link-arrow {
    color: var(--color-primary);
    font-weight: 500;
}

/* Case metrics */
.case-card__metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.case-card__metric {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-accent);
    background: rgba(5, 150, 105, 0.08);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
}

/* Testimonials */
.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.testimonial-card__quote {
    color: var(--color-dark);
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-card__author {
    display: flex;
    flex-direction: column;
    font-size: 0.875rem;
    color: var(--color-gray);
}

.testimonial-card__author strong {
    color: var(--color-dark);
    font-weight: 600;
}

/* Service landing pages */
.service-landing h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.service-landing h2:first-child {
    margin-top: 0;
}

.service-landing__list {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 2rem;
    color: var(--color-gray);
}

.service-landing__list li {
    margin-bottom: 0.5rem;
}

.service-landing__cta {
    background: var(--color-gray-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.service-landing__cta h2 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.service-landing__cta p {
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

/* Blog placeholder */
.blog-placeholder {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 1.5rem;
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-lg);
}

.blog-placeholder h2 {
    margin-bottom: 1rem;
}

.blog-placeholder p {
    margin-bottom: 1rem;
}

.blog-placeholder__cta {
    margin-top: 1.5rem;
}

/* Status pages (404, thank you) */
.status-page {
    text-align: center;
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.status-page__content {
    max-width: 600px;
    margin: 0 auto;
}

.status-page__code {
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
    line-height: 1;
}

.status-page__icon {
    width: 5rem;
    height: 5rem;
    margin: 0 auto 1.5rem;
    color: var(--color-accent);
}

.status-page__icon svg {
    width: 100%;
    height: 100%;
}

.status-page__title {
    margin-bottom: 1rem;
}

.status-page__desc {
    font-size: 1.25rem;
    color: var(--color-gray);
    margin-bottom: 2rem;
}

.status-page__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.status-page__hint {
    font-size: 0.875rem;
    color: var(--color-gray);
}

/* Cases filter */
.cases-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.cases-filter__btn {
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--color-border);
    border-radius: 100px;
    background: var(--color-white);
    color: var(--color-dark);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cases-filter__btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.cases-filter__btn--active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.cases-filter__btn--active:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
}

@media (max-width: 768px) {
    .nav__menu,
    .header__actions {
        display: none;
    }
    
    .nav__toggle {
        display: flex;
    }
    
    .about__skills {
        grid-template-columns: 1fr;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .floating-cta {
        right: 1rem;
        bottom: 1rem;
        padding: 0.75rem 1rem;
    }
    
    .floating-cta__text {
        display: none;
    }
}

/* ══════════════════════════════════════════════════════════
   SERVICES HERO — посадочные страницы услуг
   ══════════════════════════════════════════════════════════ */
.services-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 55%, #1e40af 100%);
    color: #fff;
    padding: 5rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.services-hero .container {
    position: relative;
    z-index: 1;
}

.services-hero__content {
    max-width: 760px;
}

.services-hero__title {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 1.25rem;
}

.services-hero__desc {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
    margin-bottom: 2.25rem;
    max-width: 640px;
}

.services-hero__actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.services-hero__link {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 1px;
    transition: color 0.2s, border-color 0.2s;
}

.services-hero__link:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.7);
}

@media (max-width: 768px) {
    .services-hero {
        padding: 3.5rem 0 3rem;
    }
    .services-hero__title {
        font-size: 1.875rem;
    }
    .services-hero__actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* ══════════════════════════════════════════════════════════
   INDUSTRY CASE BLOCK — блок кейса на посадочных
   ══════════════════════════════════════════════════════════ */
.industry-case {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 3rem;
    align-items: start;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 2.5rem 3rem;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.07);
}

.industry-case__metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    border-radius: 16px;
    min-height: 140px;
}

.industry-case__big {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.04em;
}

.industry-case__label {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.75);
    margin-top: 0.5rem;
    line-height: 1.4;
    text-align: center;
}

.industry-case__tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.875rem;
}

.industry-case__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.industry-case__desc {
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .industry-case {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.75rem;
    }
    .industry-case__metric {
        min-height: auto;
        padding: 1.5rem;
        flex-direction: row;
        gap: 1rem;
        justify-content: flex-start;
    }
    .industry-case__big {
        font-size: 2.25rem;
    }
}

/* ══════════════════════════════════════════════════════════
   COST TABLE — сравнительная таблица ERP
   ══════════════════════════════════════════════════════════ */
.cost-table {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.cost-table__row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    border-bottom: 1px solid #f3f4f6;
}

.cost-table--3cols .cost-table__row {
    grid-template-columns: 1.2fr 1fr 1fr;
}

.cost-table__row:last-child {
    border-bottom: none;
}

.cost-table__row--header {
    background: #f8fafc;
    font-weight: 700;
    font-size: 0.9375rem;
}

.cost-table__row > div {
    padding: 1rem 1.5rem;
    font-size: 0.9375rem;
    color: #374151;
    border-right: 1px solid #f3f4f6;
    line-height: 1.5;
}

.cost-table__row > div:last-child {
    border-right: none;
}

.cost-table__row--header > div:first-child {
    color: #9ca3af;
    font-weight: 600;
}

.cost-table__row--header > div:nth-child(2) {
    color: #ef4444;
}

.cost-table__col--ours {
    background: rgba(37, 99, 235, 0.04);
    color: #1e40af !important;
    font-weight: 500;
}

.cost-table__row--header .cost-table__col--ours {
    color: #2563eb !important;
    font-weight: 700;
}

.cost-table__row--header > div > span {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: #6b7280;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .cost-table {
        border: none;
        background: transparent;
    }
    .cost-table__row {
        display: block;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 1rem;
        padding: 1.25rem;
        margin-bottom: 1rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    }
    .cost-table__row:last-child {
        margin-bottom: 0;
    }
    .cost-table__row--header {
        display: none;
    }
    .cost-table__row > div:first-child {
        font-size: 1rem;
        font-weight: 700;
        color: #1f2937;
        padding: 0 0 0.75rem;
        margin-bottom: 0.75rem;
        border-bottom: 1px solid #f3f4f6;
    }
    .cost-table__row > div:not(:first-child) {
        padding: 0.375rem 0 0.375rem 0.75rem;
        border-right: none;
        font-size: 0.9375rem;
        line-height: 1.5;
        color: #4b5563;
        border-left: 3px solid #e5e7eb;
        margin-bottom: 0.375rem;
    }
    .cost-table__row > div:not(:first-child):last-child {
        margin-bottom: 0;
    }
    .cost-table__row > div[data-label]::before {
        content: attr(data-label);
        display: block;
        font-size: 0.6875rem;
        font-weight: 600;
        color: #9ca3af;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        margin-bottom: 0.125rem;
    }
    .cost-table__row > div.cost-table__cell--bad {
        border-left-color: #fca5a5;
    }
    .cost-table__row > div.cost-table__cell--neutral {
        border-left-color: #d1d5db;
    }
    .cost-table__row > div.cost-table__cell--good {
        border-left-color: #86efac;
    }
    .cost-table__col--ours {
        background: transparent;
        font-weight: 500;
    }
}

/* ══════════════════════════════════════════════════════════
   TAG VARIANTS — дополнительные цвета тегов
   ══════════════════════════════════════════════════════════ */
.tag--erp {
    background: rgba(217, 119, 6, 0.1);
    color: #b45309;
}

.tag--logistics {
    background: rgba(6, 182, 212, 0.1);
    color: #0e7490;
}

/* ══════════════════════════════════════════════════════════
   MOBILE MENU SIDEBAR
   ══════════════════════════════════════════════════════════ */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: min(360px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: #fff;
    z-index: 200;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    display: flex;
    flex-direction: column;
    border-radius: 1.5rem 0 0 1.5rem;
    box-shadow: -8px 0 40px rgba(0,0,0,0.12);
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu__overlay {
    position: fixed;
    inset: 0;
    background: rgba(14, 19, 32, 0.45);
    backdrop-filter: blur(4px);
    z-index: 199;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
}

.mobile-menu__overlay.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f3f4f6;
    flex-shrink: 0;
}

.mobile-menu__close {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #f3f4f6;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: background 0.2s, color 0.2s;
}

.mobile-menu__close:hover {
    background: #e3ecfa;
    color: #2563eb;
}

.mobile-menu__nav {
    padding: 0.75rem 0;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    min-height: 0;
}

.mobile-menu__section {
    margin-bottom: 0.5rem;
}

.mobile-menu__section-title {
    padding: 0.75rem 1.5rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9ca3af;
}

.mobile-menu__link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    margin: 0 0.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1f2937;
    text-decoration: none;
    border-radius: 0.625rem;
    transition: background 0.2s, color 0.2s;
}

.mobile-menu__link svg {
    flex-shrink: 0;
    color: #9ca3af;
    transition: color 0.2s;
}

.mobile-menu__link:hover {
    background: #e3ecfa;
    color: #2563eb;
}

.mobile-menu__link:hover svg {
    color: #2563eb;
}

.mobile-menu__link--sub {
    padding-left: calc(1.5rem + 0.75rem);
    font-size: 0.875rem;
    font-weight: 400;
    color: #6b7280;
}

.mobile-menu__link--sub svg {
    margin-left: -2.25rem;
    margin-right: 0.5rem;
}

.mobile-menu__divider {
    height: 1px;
    background: #f3f4f6;
    margin: 0.75rem 1.5rem;
}

.mobile-menu__footer {
    padding: 1.25rem 1.5rem 2rem;
    border-top: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #f9fafb 100%);
    flex-shrink: 0;
}

.mobile-menu__phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
    padding: 0.625rem;
    border-radius: 0.625rem;
    transition: background 0.2s;
}

.mobile-menu__phone:hover {
    background: #f3f4f6;
}

/* ══════════════════════════════════════════════════════════
   NAV ACTIVE STATE
   ══════════════════════════════════════════════════════════ */
.nav-link--active {
    color: #2563eb !important;
    font-weight: 600;
}

.btn.nav-link--active {
    color: inherit !important;
}

a.bg-blue-600.nav-link--active {
    color: #ffffff !important;
}

/* ══════════════════════════════════════════════════════════
   FORM ERROR / SUCCESS STATES
   ══════════════════════════════════════════════════════════ */
.form__input--error,
.form__textarea--error {
    border-color: #ef4444 !important;
    background: #fff5f5;
}

.form__error-msg {
    font-size: 0.8125rem;
    color: #ef4444;
    margin-top: 0.25rem;
    display: none;
}

.form__error-msg.visible {
    display: block;
}

.hero-v2__field input.field--error {
    border-color: #ef4444;
    background: #fff5f5;
}

.form-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #1f2937;
    color: #fff;
    border-radius: 10px;
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    white-space: normal;
    max-width: calc(100vw - 2rem);
}

.form-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
}

.form-toast--error {
    background: #dc2626;
}

.form-toast--success {
    background: #059669;
}

.form-toast svg {
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   SECTION DARK CTA (services pages)
   ══════════════════════════════════════════════════════════ */
.section--dark .cta__content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.section--dark .cta__title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section--dark .cta__desc {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.section--dark .cta__trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.section--dark .cta__trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
}

.section--dark .cta__trust-item svg {
    color: #4ade80;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   MOBILE MENU RESPONSIVE — скрыть на desktop
   ══════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
    .mobile-menu,
    .mobile-menu__overlay {
        display: none !important;
    }
}

/* ══════════════════════════════════════════════════════════
   BLOG PAGE
   ══════════════════════════════════════════════════════════ */

/* ── Category filter tabs ────────────────────────────── */
.blog__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.blog__categories .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 2rem;
}

.blog__categories .btn--outline {
    border-width: 1.5px;
    color: #6b7280;
    border-color: #d1d5db;
}

.blog__categories .btn--outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: transparent;
}

.blog__categories .btn--primary {
    background: var(--color-primary);
    color: #fff;
    border: 1.5px solid var(--color-primary);
}

/* ── Posts count ────────────────────────────────────── */
.blog__count {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-top: -1.5rem;
    margin-bottom: 2rem;
}

/* ── Blog grid ───────────────────────────────────────── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

/* ── Blog card ───────────────────────────────────────── */
.blog-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.blog-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 4px 24px rgba(37, 99, 235, 0.08);
    transform: translateY(-2px);
}

.blog-card__category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #eff6ff;
    color: #2563eb;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 2rem;
    letter-spacing: 0.01em;
    align-self: flex-start;
}

.blog-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
    color: #111827;
    margin: 0;
}

.blog-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s;
}

.blog-card__title a:hover {
    color: var(--color-primary);
}

.blog-card__excerpt {
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.65;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
    margin: 0;
}

.blog-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #f3f4f6;
    gap: 0.5rem;
}

.blog-card__date {
    font-size: 0.8125rem;
    color: #9ca3af;
    white-space: nowrap;
}

.blog-card__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: gap 0.15s;
}

.blog-card__link::after {
    content: '→';
}

.blog-card__link:hover {
    color: var(--color-primary-dark);
    gap: 0.4rem;
}

/* ── Blog placeholder ────────────────────────────────── */
.blog-placeholder {
    text-align: center;
    padding: 5rem 1rem;
    max-width: 560px;
    margin: 0 auto;
}

.blog-placeholder h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.blog-placeholder p {
    color: #6b7280;
    line-height: 1.65;
    margin-bottom: 0.5rem;
}

.blog-placeholder a {
    color: #2563eb;
    text-decoration: underline;
}

.blog-placeholder__cta {
    margin-top: 2rem;
}

/* ══════════════════════════════════════════════════════════
   BLOG POST PAGE  (bp-*)
   ══════════════════════════════════════════════════════════ */

/* ── Hero header ─────────────────────────────────────── */
.bp-hero {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    padding: 2.5rem 0 2rem;
}

.bp-back {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 1.25rem;
    transition: color 0.15s;
}

.bp-back:hover {
    color: var(--color-primary);
}

.bp-hero__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.bp-hero__date {
    font-size: 0.875rem;
    color: #9ca3af;
}

.bp-hero__title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    line-height: 1.25;
    color: #111827;
    margin: 0 0 1rem;
    max-width: 780px;
}

.bp-hero__excerpt {
    font-size: 1.0625rem;
    color: #6b7280;
    line-height: 1.7;
    max-width: 680px;
    margin: 0;
}

/* ── Cover image ─────────────────────────────────────── */
.bp-cover {
    background: #f1f5f9;
    padding: 0;
}

.bp-cover__img {
    display: block;
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 0;
}

/* ── Main layout ─────────────────────────────────────── */
.bp-section {
    padding-top: 3rem;
}

.bp-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .bp-layout {
        grid-template-columns: 1fr;
    }
}

/* ── Article ─────────────────────────────────────────── */
.bp-article {
    min-width: 0;
}

/* ── Content typography ──────────────────────────────── */
.bp-content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #374151;
}

.bp-content p {
    margin: 0 0 1.375rem;
}

.bp-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin: 2.5rem 0 1rem;
    padding-top: 0.5rem;
    border-top: 2px solid #e5e7eb;
}

.bp-content h2:first-child {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

.bp-content h3 {
    font-size: 1.1875rem;
    font-weight: 700;
    color: #1f2937;
    margin: 2rem 0 0.75rem;
}

.bp-content ul,
.bp-content ol {
    margin: 0 0 1.375rem 1.25rem;
}

.bp-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.bp-content strong {
    color: #111827;
    font-weight: 600;
}

.bp-content blockquote {
    border-left: 3px solid var(--color-primary);
    margin: 1.75rem 0;
    padding: 1rem 1.5rem;
    background: #f0f7ff;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #374151;
}

.bp-content blockquote p {
    margin: 0;
}

.bp-content a {
    color: var(--color-primary);
    text-decoration: underline;
    text-decoration-color: rgba(37,99,235,0.3);
    text-underline-offset: 2px;
    transition: text-decoration-color 0.15s;
}

.bp-content a:hover {
    text-decoration-color: var(--color-primary);
}

.bp-content__figure {
    margin: 1.75rem 0;
    border-radius: 8px;
    overflow: hidden;
}

.bp-content__figure img {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.bp-content__placeholder {
    margin: 1.75rem 0;
    padding: 2rem;
    background: #f8fafc;
    border: 2px dashed #e2e8f0;
    border-radius: 8px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9375rem;
}

.bp-content__placeholder-icon {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

/* ── Embed (content-placeholder) ───────────────────── */
.bp-content__embed {
    margin: 1.75rem 0;
    border-radius: 8px;
    overflow: hidden;
}

/* ── Inline Gallery (gallery-placeholder) ──────────── */
.bp-content__gallery {
    margin: 1.75rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}

.bp-content__gallery-item {
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.bp-content__gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 140px;
    max-height: 260px;
}

/* ── Image Lightbox Modal ──────────────────────────── */
.bp-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.bp-lightbox.is-open {
    display: flex;
}
.bp-lightbox__img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.bp-lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.bp-lightbox__close:hover {
    background: rgba(255,255,255,0.3);
}

/* ── Gallery ─────────────────────────────────────────── */
.bp-gallery {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.bp-gallery__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.25rem;
}

.bp-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

@media (max-width: 640px) {
    .bp-gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.bp-gallery__item {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #f1f5f9;
}

.bp-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s;
}

.bp-gallery__item:hover img {
    transform: scale(1.04);
}

/* ── Post footer (author + back link) ────────────────── */
.bp-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.bp-footer__author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.bp-footer__author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

.bp-footer__author-name {
    font-weight: 600;
    color: #111827;
    font-size: 0.9375rem;
}

.bp-footer__author-role {
    font-size: 0.8125rem;
    color: #9ca3af;
    margin-top: 0.125rem;
}

.bp-footer__back {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    transition: all 0.15s;
    white-space: nowrap;
}

.bp-footer__back:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: #f0f7ff;
}

/* ── Sidebar ─────────────────────────────────────────── */
.bp-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 5rem;
}

@media (max-width: 1024px) {
    .bp-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

/* CTA block */
.bp-sidebar__cta {
    background: #f0f7ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 1.5rem;
}

.bp-sidebar__cta-icon {
    width: 44px;
    height: 44px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.bp-sidebar__cta-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.bp-sidebar__cta-desc {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.bp-sidebar__cta-note {
    text-align: center;
    font-size: 0.8125rem;
    color: #9ca3af;
    margin-top: 0.625rem;
    margin-bottom: 0;
}

/* Categories + links blocks */
.bp-sidebar__cats,
.bp-sidebar__links {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
}

.bp-sidebar__cats-title {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #9ca3af;
    margin-bottom: 0.875rem;
}

.bp-sidebar__cats-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.bp-sidebar__cat-link {
    display: block;
    padding: 0.4375rem 0.625rem;
    border-radius: 6px;
    font-size: 0.9375rem;
    color: #374151;
    text-decoration: none;
    transition: background 0.12s, color 0.12s;
}

.bp-sidebar__cat-link:hover {
    background: #f3f4f6;
    color: var(--color-primary);
}

.bp-sidebar__cat-link--active {
    background: #eff6ff;
    color: var(--color-primary);
    font-weight: 600;
}

/* ══════════════════════════════════════════════════════════
   HONEYPOT — anti-spam hidden field
   ══════════════════════════════════════════════════════════ */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* ══════════════════════════════════════════════════════════
   REDUCED MOTION
   ══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .reveal-up {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .case-demo__status::before {
        animation: none !important;
    }
    .btn,
    .case-card-v2,
    .next-step-card,
    .industry-pain,
    .industry-solution,
    .service-card {
        transition: none !important;
    }
}
