.projects-page {
    width: 100%;
}

.projects-hero-section,
.projects-stats-section,
.projects-grid-section {
    width: 100%;
    display: flex;
    justify-content: center;
}

.projects-hero-section {
    padding: 56px 0;
    border-bottom: 1px solid #e2e2ec;
    background: #fff;
}

.projects-hero-container,
.projects-stats-container,
.projects-grid-container {
    width: 100%;
    max-width: var(--content-max-width);
    box-sizing: border-box;
}

.projects-hero-label {
    margin: 0;
    font-family: var(--second-family);
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #252691;
}

.projects-hero-container h1 {
    margin: 12px 0 0;
    font-family: var(--second-family);
    font-size: 48px;
    font-weight: 700;
    line-height: 60px;
    color: #151525;
    overflow-wrap: anywhere;
}

.projects-hero-lead {
    margin: 4px 0 0;
    max-width: 672px;
    font-family: var(--font-family);
    font-size: 18px;
    font-weight: 400;
    line-height: 29.25px;
    color: #717188;
    overflow-wrap: anywhere;
}

.projects-stats-section {
    background: #17171a;
}

.projects-stats-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.projects-stat-item {
    padding: 32px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.projects-stat-item:last-child {
    border-right: 0;
}

.projects-stat-value {
    font-family: var(--second-family);
    font-size: 36px;
    font-weight: 700;
    line-height: 36px;
    color: #fff;
}

.projects-stat-label {
    margin-top: 4px;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: rgba(255, 255, 255, 0.6);
}

.projects-grid-section {
    padding: 56px 0;
    background: #f6f6fa;
}

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

.project-card {
    border: 1px solid #e2e2ec;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    min-width: 0;
    user-select: none;
    -webkit-user-select: none;
}

.project-card * {
    user-select: none;
    -webkit-user-select: none;
}

.project-card img {
    display: block;
    width: 100%;
    height: 192px;
    object-fit: cover;
    border-bottom: 1px solid #e2e2ec;
}

.project-card-content {
    padding: 20px;
    min-width: 0;
}

.project-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-family: var(--font-family);
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    color: #717188;
    overflow-wrap: anywhere;
}

.project-card h2 {
    margin: 12px 0 0;
    font-family: var(--second-family);
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    color: #151525;
    overflow-wrap: anywhere;
}

.project-card p {
    margin: 8px 0 0;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #717188;
    overflow-wrap: anywhere;
}

@media (max-width: 1200px) {
    .projects-hero-section,
    .projects-grid-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }
}

@media (max-width: 1000px) {
    .projects-hero-container,
    .projects-stats-container,
    .projects-grid-container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .projects-hero-container h1 {
        font-size: 42px;
        line-height: 1.12;
    }

    .projects-hero-lead {
        font-size: 16px;
        line-height: 1.55;
    }

    .projects-stats-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .projects-hero-container,
    .projects-stats-container,
    .projects-grid-container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 600px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .projects-hero-container h1 {
        font-size: 34px;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    .projects-stats-container {
        grid-template-columns: 1fr;
    }

    .projects-stat-item {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .projects-stat-item:last-child {
        border-bottom: 0;
    }

    .projects-hero-container,
    .projects-stats-container,
    .projects-grid-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .projects-hero-container h1 {
        font-size: 30px;
    }
}