.works-page{

    --primary:#1689d8;
    --primary-dark:#086bb3;
    --secondary:#21b7e6;
    --border:#dcecf8;
    --text:#17354d;
    --muted:#6d8397;

}

.works-grid{

    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(340px,1fr));
    gap:28px;

}

.work-card{

    overflow:hidden;

    border:1px solid var(--border);

    border-radius:24px;

    background:#fff;

    box-shadow:0 14px 35px rgba(16,91,146,.08);

    transition:.35s;

}

.work-card:hover{

    transform:translateY(-8px);

    box-shadow:0 28px 60px rgba(16,91,146,.16);

}

.work-card__image{

    position:relative;

    display:block;

    overflow:hidden;

    aspect-ratio:16/10;

    background:#eef8ff;

}

.work-card__image img{

    width:100%;
    height:100%;

    object-fit:cover;

    transition:.6s;

}

.work-card:hover img{

    transform:scale(1.08);

}

.work-card__badge{

    position:absolute;

    left:20px;
    top:20px;

    padding:8px 14px;

    color:#fff;

    font-size:12px;

    font-weight:700;

    border-radius:30px;

    backdrop-filter:blur(8px);

    background:rgba(8,107,179,.75);

}

.work-card__overlay{

    position:absolute;

    inset:0;

    display:flex;

    align-items:flex-end;

    justify-content:flex-end;

    padding:20px;

    background:linear-gradient(
            180deg,
            transparent 40%,
            rgba(4,45,77,.72)
    );

    opacity:0;

    transition:.35s;

}

.work-card:hover .work-card__overlay{

    opacity:1;

}

.work-card__arrow{

    display:flex;

    align-items:center;

    justify-content:center;

    width:56px;
    height:56px;

    color:var(--primary);

    font-size:28px;

    border-radius:50%;

    background:#fff;

    transform:translateY(15px);

    transition:.35s;

}

.work-card:hover .work-card__arrow{

    transform:none;

}

.work-card__body{

    padding:28px;

}

.work-card__category{

    display:inline-block;

    margin-bottom:12px;

    color:var(--primary);

    font-size:12px;

    font-weight:800;

    letter-spacing:.08em;

    text-transform:uppercase;

}

.work-card__title{

    margin:0 0 20px;

    font-size:25px;

    line-height:1.3;

}

.work-card__title a{

    color:var(--text);

    text-decoration:none;

}

.work-card__title a:hover{

    color:var(--primary);

}

.work-card__link{

    display:inline-flex;

    align-items:center;

    gap:10px;

    color:var(--primary);

    font-weight:700;

    text-decoration:none;

}

.work-card__link span{

    transition:.25s;

}

.work-card__link:hover span{

    transform:translateX(5px);

}

.work-card__noimage{

    display:flex;

    align-items:center;

    justify-content:center;

    height:100%;

    color:#7b90a2;

    background:#edf7ff;

}

@media(max-width:900px){

    .works-grid{

        grid-template-columns:repeat(auto-fill,minmax(300px,1fr));

    }

}

@media(max-width:650px){

    .works-grid{

        grid-template-columns:1fr;

    }

}
/*==================================================
                СТРАНИЦА ПРОЕКТА
==================================================*/

.project-page {
    --project-primary: #1689d8;
    --project-primary-dark: #086bb3;
    --project-secondary: #20b7e5;
    --project-light: #eef8ff;
    --project-border: #d7ebf8;
    --project-text: #18344d;
    --project-muted: #667d90;

    color: var(--project-text);
}

.project-page *,
.project-page *::before,
.project-page *::after {
    box-sizing: border-box;
}

.project-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 13px;
    color: var(--project-primary);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.project-eyebrow::before {
    content: "";
    width: 28px;
    height: 3px;
    border-radius: 10px;
    background: linear-gradient(
            90deg,
            var(--project-primary),
            var(--project-secondary)
    );
}


/*==================================================
                    HERO
==================================================*/

.project-hero {
    position: relative;
    overflow: hidden;
    padding: 65px 0;
    background:
            radial-gradient(
                    circle at 10% 20%,
                    rgba(32, 183, 229, .13),
                    transparent 32%
            ),
            linear-gradient(135deg, #f6fbff 0%, #eaf7ff 100%);
}

.project-hero::after {
    content: "";
    position: absolute;
    right: -140px;
    bottom: -170px;
    width: 420px;
    height: 420px;
    border: 80px solid rgba(22, 137, 216, .05);
    border-radius: 50%;
}

.project-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(400px, 1.1fr);
    align-items: center;
    gap: 60px;
}

.project-hero__title {
    max-width: 760px;
    margin: 0 0 22px;
    color: var(--project-text);
    font-size: clamp(34px, 4vw, 58px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.03em;
}

.project-hero__description {
    max-width: 650px;
    margin: 0 0 30px;
    color: var(--project-muted);
    font-size: 18px;
    line-height: 1.7;
}

.project-location {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 13px 18px;
    background: rgba(255, 255, 255, .8);
    border: 1px solid var(--project-border);
    border-radius: 15px;
    box-shadow: 0 12px 30px rgba(17, 112, 177, .09);
}

.project-location__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: linear-gradient(
            135deg,
            var(--project-primary),
            var(--project-secondary)
    );
}

.project-location__icon svg {
    width: 23px;
    height: 23px;
    fill: #fff;
}

.project-location small,
.project-location strong {
    display: block;
}

.project-location small {
    margin-bottom: 3px;
    color: var(--project-muted);
    font-size: 12px;
}

.project-location strong {
    color: var(--project-text);
    font-size: 15px;
}

.project-hero__image {
    position: relative;
    overflow: hidden;
    min-height: 460px;
    border: 8px solid rgba(255, 255, 255, .75);
    border-radius: 28px;
    box-shadow: 0 25px 65px rgba(16, 91, 146, .2);
}

.project-hero__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-hero__image-label {
    position: absolute;
    right: 20px;
    bottom: 20px;
    padding: 11px 17px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 50px;
    background: rgba(9, 55, 88, .82);
    backdrop-filter: blur(8px);
}


/*==================================================
            КРАТКАЯ ИНФОРМАЦИЯ
==================================================*/

.project-summary {
    position: relative;
    z-index: 2;
    margin-top: -28px;
}

.project-summary__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--project-border);
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(13, 89, 145, .12);
}

.project-summary__card {
    display: flex;
    align-items: center;
    gap: 17px;
    min-height: 112px;
    padding: 23px 28px;
    border-right: 1px solid var(--project-border);
}

.project-summary__card:last-child {
    border-right: 0;
}

.project-summary__number {
    color: rgba(22, 137, 216, .18);
    font-size: 35px;
    font-weight: 900;
    line-height: 1;
}

.project-summary__label,
.project-summary__card strong {
    display: block;
}

.project-summary__label {
    margin-bottom: 5px;
    color: var(--project-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.project-summary__card strong {
    color: var(--project-text);
    font-size: 16px;
}


/*==================================================
                ОБЩИЕ СЕКЦИИ
==================================================*/

.project-section {
    padding: 85px 0;
}

.project-section_blue {
    background:
            linear-gradient(
                    135deg,
                    rgba(238, 248, 255, .95),
                    rgba(226, 244, 255, .95)
            );
}

.project-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
    align-items: start;
    gap: 65px;
}

.project-text h2,
.project-work-list h2,
.project-section-head h2,
.project-result h2 {
    margin: 0 0 23px;
    color: var(--project-text);
    font-size: clamp(27px, 3vw, 39px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.project-text p {
    margin: 0 0 17px;
    color: var(--project-muted);
    font-size: 17px;
    line-height: 1.8;
}

.project-work-list {
    padding: 31px;
    background: #fff;
    border: 1px solid var(--project-border);
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(17, 98, 157, .1);
}

.project-work-list h2 {
    font-size: 27px;
}

.project-work-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.project-work-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 0;
    color: #3d566b;
    font-size: 15px;
    line-height: 1.5;
    border-bottom: 1px solid #e7f1f8;
}

.project-work-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.project-check {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    border-radius: 50%;
    background: linear-gradient(
            135deg,
            var(--project-primary),
            var(--project-secondary)
    );
}

.project-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 37px;
}

.project-section-head h2 {
    margin-bottom: 0;
}

.project-section-head > p {
    max-width: 390px;
    margin: 0;
    color: var(--project-muted);
    font-size: 15px;
    line-height: 1.6;
}


/*==================================================
                    ГАЛЕРЕЯ
==================================================*/

.project-gallery {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 220px;
    gap: 15px;
}

.project-gallery__item {
    position: relative;
    grid-column: span 4;
    overflow: hidden;
    border-radius: 18px;
    background: #dcebf5;
    box-shadow: 0 11px 28px rgba(12, 84, 136, .1);
}

.project-gallery__item_large {
    grid-column: span 8;
    grid-row: span 2;
}

.project-gallery__item_wide {
    grid-column: span 8;
}

.project-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
            transform .55s ease,
            filter .55s ease;
}

.project-gallery__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 11px;
    padding: 24px;
    color: #fff;
    background: linear-gradient(
            180deg,
            transparent 20%,
            rgba(5, 47, 77, .82) 100%
    );
    opacity: 0;
    transition: opacity .35s ease;
}

.project-gallery__zoom {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: var(--project-primary);
    font-size: 27px;
    font-weight: 300;
    border-radius: 50%;
    background: #fff;
    transform: translateY(10px);
    transition: transform .35s ease;
}

.project-gallery__overlay strong {
    font-size: 16px;
    transform: translateY(10px);
    transition: transform .35s ease;
}

.project-gallery__item:hover img {
    transform: scale(1.07);
    filter: saturate(1.08);
}

.project-gallery__item:hover .project-gallery__overlay {
    opacity: 1;
}

.project-gallery__item:hover .project-gallery__zoom,
.project-gallery__item:hover .project-gallery__overlay strong {
    transform: translateY(0);
}


/*==================================================
                    УСЛУГИ
==================================================*/

.project-services {
    background: #fff;
}

.project-text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--project-primary);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.project-text-link span {
    transition: transform .25s ease;
}

.project-text-link:hover span {
    transform: translateX(5px);
}

.project-services__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.project-service-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 180px;
    padding: 29px;
    color: var(--project-text);
    text-decoration: none;
    border: 1px solid var(--project-border);
    border-radius: 22px;
    background:
            linear-gradient(135deg, #fff 0%, #f6fbff 100%);
    box-shadow: 0 13px 35px rgba(14, 91, 147, .08);
    transition:
            transform .3s ease,
            border-color .3s ease,
            box-shadow .3s ease;
}

.project-service-card:hover {
    color: var(--project-text);
    text-decoration: none;
    transform: translateY(-5px);
    border-color: #7cc8f0;
    box-shadow: 0 22px 45px rgba(14, 91, 147, .15);
}

.project-service-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 68px;
    width: 68px;
    height: 68px;
    border-radius: 19px;
    background: linear-gradient(
            135deg,
            var(--project-primary),
            var(--project-secondary)
    );
    box-shadow: 0 12px 25px rgba(22, 137, 216, .23);
}

.project-service-card__icon svg {
    width: 31px;
    height: 31px;
    fill: #fff;
}

.project-service-card__content {
    display: block;
    padding-right: 30px;
}

.project-service-card__content small,
.project-service-card__content strong,
.project-service-card__description {
    display: block;
}

.project-service-card__content small {
    margin-bottom: 7px;
    color: var(--project-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.project-service-card__content strong {
    margin-bottom: 10px;
    font-size: 21px;
}

.project-service-card__description {
    color: var(--project-muted);
    font-size: 14px;
    line-height: 1.55;
}

.project-service-card__arrow {
    position: absolute;
    top: 50%;
    right: 25px;
    color: var(--project-primary);
    font-size: 24px;
    transform: translateY(-50%);
    transition: transform .25s ease;
}

.project-service-card:hover .project-service-card__arrow {
    transform: translate(5px, -50%);
}


/*==================================================
                    РЕЗУЛЬТАТ
==================================================*/

.project-result {
    padding: 0 0 85px;
}

.project-result__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 26px;
    padding: 38px 42px;
    overflow: hidden;
    color: #fff;
    border-radius: 25px;
    background:
            radial-gradient(
                    circle at 90% 20%,
                    rgba(255, 255, 255, .18),
                    transparent 24%
            ),
            linear-gradient(
                    135deg,
                    var(--project-primary-dark),
                    var(--project-secondary)
            );
    box-shadow: 0 22px 50px rgba(16, 114, 181, .25);
}

.project-result__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    color: var(--project-primary);
    font-size: 31px;
    font-weight: 900;
    border-radius: 50%;
    background: #fff;
}

.project-result .project-eyebrow {
    color: rgba(255, 255, 255, .75);
}

.project-result .project-eyebrow::before {
    background: rgba(255, 255, 255, .75);
}

.project-result h2 {
    margin-bottom: 10px;
    color: #fff;
    font-size: 30px;
}

.project-result p {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 255, 255, .83);
    font-size: 15px;
    line-height: 1.65;
}

.project-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 22px;
    color: var(--project-primary-dark);
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    text-decoration: none;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0, 49, 83, .15);
    transition:
            transform .25s ease,
            box-shadow .25s ease;
}

.project-button:hover {
    color: var(--project-primary-dark);
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 49, 83, .23);
}


/*==================================================
                    АДАПТИВ
==================================================*/

@media (max-width: 1100px) {

    .project-hero__inner {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .project-content-grid {
        gap: 35px;
    }

    .project-result__inner {
        grid-template-columns: auto 1fr;
    }

    .project-result .project-button {
        grid-column: 2;
        justify-self: start;
    }

}

@media (max-width: 900px) {

    .project-hero {
        padding: 45px 0 65px;
    }

    .project-hero__inner,
    .project-content-grid {
        grid-template-columns: 1fr;
    }

    .project-hero__image {
        min-height: 420px;
    }

    .project-summary__grid {
        grid-template-columns: 1fr;
    }

    .project-summary__card {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--project-border);
    }

    .project-summary__card:last-child {
        border-bottom: 0;
    }

    .project-services__grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 700px) {

    .project-section {
        padding: 60px 0;
    }

    .project-hero__title {
        font-size: 35px;
    }

    .project-hero__description {
        font-size: 16px;
    }

    .project-hero__image {
        min-height: 330px;
        border-width: 5px;
        border-radius: 20px;
    }

    .project-section-head {
        display: block;
    }

    .project-section-head > p,
    .project-section-head .project-text-link {
        display: inline-flex;
        margin-top: 15px;
    }

    .project-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 260px;
    }

    .project-gallery__item,
    .project-gallery__item_large,
    .project-gallery__item_wide {
        grid-column: auto;
        grid-row: auto;
    }

    .project-gallery__overlay {
        opacity: 1;
    }

    .project-service-card {
        align-items: flex-start;
        min-height: auto;
        padding: 23px;
    }

    .project-service-card__icon {
        flex-basis: 54px;
        width: 54px;
        height: 54px;
        border-radius: 15px;
    }

    .project-service-card__icon svg {
        width: 25px;
        height: 25px;
    }

    .project-service-card__content {
        padding-right: 18px;
    }

    .project-result__inner {
        grid-template-columns: 1fr;
        padding: 30px 24px;
    }

    .project-result .project-button {
        grid-column: auto;
    }

}

@media (max-width: 480px) {

    .project-location {
        align-items: flex-start;
        width: 100%;
    }

    .project-work-list {
        padding: 24px 20px;
    }

    .project-gallery {
        grid-auto-rows: 225px;
    }

    .project-service-card {
        display: block;
    }

    .project-service-card__icon {
        margin-bottom: 17px;
    }

    .project-service-card__content {
        padding-right: 25px;
    }

}