#products {
    padding: 88px 24px;
}

#products::before {
    animation: none;
    opacity: 0.22;
}

#products .projects-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

#products .projects-intro {
    max-width: 800px;
    margin: 0 auto 36px;
    text-align: center;
}

#products .projects-kicker {
    margin: 0 0 14px;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

#products .projects-intro h2 {
    margin: 0 0 18px;
    color: #0f172a;
    font-size: clamp(30px, 3.6vw, 44px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.15;
}

#products .projects-description {
    margin: 0;
    color: #526174;
    font-size: 17px;
    line-height: 1.6;
}

#products .projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

#products .project-card {
    --project-accent: #275c4e;
    --project-soft: #edf5f0;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 26px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

#products .project-card:hover {
    transform: none;
    border-color: #b6c3d1;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

#products .project-card::after {
    display: none;
}

#products .project-card--stack {
    --project-accent: #315a7a;
    --project-soft: #edf4fa;
}

#products .project-card--nalto {
    --project-accent: #675478;
    --project-soft: #f5f0f8;
}

#products .project-category {
    display: inline-block;
    margin-bottom: 14px;
    padding: 5px 10px;
    border-radius: 8px;
    background: var(--project-soft);
    color: var(--project-accent);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
}

#products .project-heading h3 {
    margin: 0 0 10px;
    color: #17202d;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.15;
}

#products .project-purpose {
    min-height: 66px;
    margin: 0 0 14px;
    color: #526174;
    font-size: 14px;
    line-height: 1.6;
}

#products .project-audience {
    min-height: 53px;
    margin: 0 0 18px;
    color: #5e6c7b;
    font-size: 12px;
    line-height: 1.55;
}

#products .project-audience > span {
    display: block;
    margin-bottom: 3px;
    color: #39485a;
    font-size: 11px;
    font-weight: 600;
}

#products .project-preview {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 120px;
    min-width: 0;
    margin: 0 0 22px;
    padding: 13px;
    overflow: hidden;
    border: 1px solid #e0e6ed;
    border-radius: 15px;
    background: #f8fafb;
}

#products .project-preview figcaption {
    color: #637183;
    font-size: 10px;
    line-height: 1.5;
}

#products .preview-dot {
    display: inline-block;
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--project-accent);
}

#products .crm-scenario-head {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    color: #344356;
    font-size: 11px;
}

#products .crm-scenario-head strong {
    font-weight: 600;
}

#products .preview-caption {
    margin-left: auto;
    color: #718096;
    font-size: 9px;
}

#products .crm-modules {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
}

#products .crm-modules > span {
    padding: 8px 2px;
    border: 1px solid #dce7e2;
    border-radius: 7px;
    background: #fff;
    color: #4a635b;
    font-size: 10px;
    text-align: center;
}

#products .stack-scenario {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 69px;
}

#products .stack-source {
    flex-shrink: 0;
    width: 83px;
    padding: 9px 8px;
    border: 1px solid #dce4ec;
    border-radius: 8px;
    background: #fff;
}

#products .stack-source > span {
    display: block;
    margin-bottom: 3px;
    color: #678173;
    font-size: 9px;
}

#products .stack-source > strong {
    display: block;
    color: #344356;
    font-size: 10px;
    font-weight: 500;
}

#products .preview-arrow {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: #8b9cb0;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#products .stack-plan {
    width: 136px;
    min-width: 0;
    height: 69px;
    margin-left: auto;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#products .stack-outline {
    fill: #edf3f7;
    stroke: #a4b9ca;
    stroke-width: 1.2;
}

#products .stack-box {
    stroke-width: 1;
}

#products .stack-box--blue {
    fill: #b5cfdf;
    stroke: #7ba2bb;
}

#products .stack-box--green {
    fill: #c4ddd2;
    stroke: #91b4a4;
}

#products .stack-box--sand {
    fill: #e9d6b7;
    stroke: #c9ad83;
}

#products .nalto-scenario {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 7px;
}

#products .nalto-transcript,
#products .nalto-guidance {
    min-width: 0;
    min-height: 65px;
    padding: 9px;
    border: 1px solid #e1dce7;
    border-radius: 8px;
    background: #fff;
    font-size: 10px;
}

#products .nalto-transcript > strong {
    margin-left: 4px;
    color: #4f4562;
    font-weight: 500;
}

#products .transcript-lines {
    display: grid;
    gap: 5px;
    margin-top: 10px;
}

#products .transcript-lines > i {
    height: 3px;
    border-radius: 2px;
    background: #e4dfeb;
}

#products .transcript-lines > i:last-child {
    width: 70%;
}

#products .nalto-guidance {
    background: #f3eef8;
}

#products .nalto-guidance > span {
    display: block;
    margin-bottom: 8px;
    color: #827094;
    font-size: 9px;
}

#products .nalto-guidance > strong {
    color: #675478;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.5;
}

#products .project-features {
    display: grid;
    align-content: start;
    flex: 1;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#products .project-features > li {
    position: relative;
    min-width: 0;
    padding-left: 15px;
    color: #465466;
    font-size: 13px;
    line-height: 1.55;
}

#products .project-features > li::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--project-accent);
    opacity: 0.65;
}

#products .project-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 23px;
    padding: 14px 0 0;
    border-top: 1px solid #e4e9ef;
    color: #263a47;
    text-decoration: none;
    transition: color 0.2s ease;
}

#products .project-link strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

#products .project-domain {
    display: block;
    margin-top: 3px;
    color: #7a8797;
    font-size: 11px;
    line-height: 1.5;
}

#products .project-link > svg {
    flex-shrink: 0;
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#products .project-link:hover {
    color: var(--project-accent);
}

#products .project-link:focus-visible,
#products .projects-contact-link:focus-visible {
    outline: 2px solid #315a7a;
    outline-offset: 5px;
    border-radius: 5px;
}

#products .projects-custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 28px;
    padding: 25px 28px;
    border: 1px solid #dce3ea;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.6);
}

#products .projects-custom h3 {
    margin: 0 0 7px;
    color: #243345;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.4;
}

#products .projects-custom p {
    margin: 0;
    color: #627083;
    font-size: 13px;
    line-height: 1.6;
}

#products .projects-contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 44px;
    padding: 11px 20px;
    border-radius: 12px;
    background: #17312d;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

#products .projects-contact-link:hover {
    background: #112421;
}

@media (max-width: 1100px) {
    #products .projects-grid {
        gap: 14px;
    }

    #products .project-card {
        padding: 21px;
    }

    #products .project-purpose {
        min-height: 89px;
    }

    #products .preview-caption {
        display: none;
    }
}

@media (max-width: 900px) {
    #products {
        padding: 68px 24px;
    }

    #products .projects-grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 540px;
        margin: 0 auto;
        gap: 22px;
    }

    #products .project-card {
        padding: 28px;
    }

    #products .project-purpose,
    #products .project-audience {
        min-height: 0;
    }

    #products .project-preview {
        height: 120px;
    }

    #products .preview-caption {
        display: inline;
    }

    #products .stack-plan {
        margin: 0;
    }

    #products .projects-custom {
        flex-direction: column;
        align-items: flex-start;
        max-width: 540px;
        margin: 24px auto 0;
        padding: 26px 28px;
        gap: 18px;
    }
}

@media (max-width: 480px) {
    #products {
        padding: 56px 16px;
    }

    #products .projects-intro {
        margin-bottom: 28px;
    }

    #products .projects-description {
        font-size: 15px;
    }

    #products .project-card {
        padding: 23px;
        border-radius: 23px;
    }

    #products .project-preview {
        padding: 12px;
    }

    #products .projects-custom {
        padding: 24px;
    }

    #products .projects-contact-link {
        width: 100%;
    }
}
