.projects-page {
    padding: 74px 0 64px;
    background: var(--light);
}

.projects-head {
    max-width: 715px;
    margin-bottom: 48px;
}

.projects-head p {
    margin: 22px 0 0;
    max-width: 660px;
    color: #333;
    font-size: 24px;
    line-height: 1.34;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.project-card {
    min-height: 628px;
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 28px;
    padding: 40px;
    background: var(--white);
}

.project-card__place {
    margin-bottom: 24px;
    color: var(--orange);
    font-size: 20px;
}

.round-arrow {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 12px;
    background: var(--orange);
    color: var(--white);
    font-size: 28px;
    font-weight: 800;
}

.project-card h3 {
    min-height: 116px;
    padding-right: 22px;
}

.project-card img {
    height: unset;
    width: 100%;
    aspect-ratio: 1 / 1.02;
    margin-top: auto;
    border-radius: 28px;
    object-fit: cover;
}

.project-detail {
    padding: 72px 0 78px;
    background: var(--light);
}

.project-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 68px;
    align-items: end;
}

.project-hero__text p {
    max-width: 780px;
    margin: 18px 0 34px;
    color: #424242;
    font-size: 20px;
    line-height: 1.35;
}

.project-hero__image,
.project-about__image,
.gallery-card {
    overflow: hidden;
    border-radius: 24px;
    background:
        linear-gradient(45deg, #fff 25%, transparent 25%),
        linear-gradient(-45deg, #fff 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #fff 75%),
        linear-gradient(-45deg, transparent 75%, #fff 75%),
        #dfdfdf;
    background-size: 48px 48px;
    background-position: 0 0, 0 24px, 24px -24px, -24px 0;
}

.project-hero__image img,
.project-about__image img,
.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-hero__image {
    max-width: 810px;
    height: 330px;
}

.project-facts {
    display: grid;
    gap: 27px;
    align-self: center;
    padding: 34px 38px;
    border-radius: 20px;
    background: var(--white);
}

.fact {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 20px;
    align-items: start;
}

.fact svg {
    width: 28px;
    height: 28px;
    color: var(--orange);
    stroke-width: 2.4;
}

.fact strong {
    display: block;
    color: #3a3a3a;
    font-size: 16px;
    font-weight: 800;
}

.fact span {
    display: block;
    margin-top: 2px;
    color: #b2b2b2;
    font-size: 16px;
    font-weight: 700;
}

.project-about {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(380px, .72fr);
    gap: 72px;
    align-items: center;
    margin-top: 66px;
}

.project-copy p {
    max-width: 650px;
    margin: 18px 0 0;
    color: #424242;
    font-size: 20px;
    line-height: 1.35;
}

.project-copy p+p {
    margin-top: 30px;
}

.project-about__image {
    height: 310px;
    border-radius: 24px;
}

.project-gallery {
    margin-top: 66px;
}

.project-gallery h2,
.project-result h2 {
    margin-bottom: 32px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.gallery-card {
    height: 195px;
    border-radius: 18px;
}

.project-result {
    max-width: 760px;
    margin-top: 66px;
}

.project-result p {
    margin: 0;
    color: #424242;
    font-size: 20px;
    line-height: 1.35;
}

.request {
    padding: 70px 0 86px;
    background: var(--dark);
    color: var(--white);
}

.request__inner {
    display: grid;
    grid-template-columns: minmax(0, 640px) minmax(390px, 560px);
    gap: 60px;
    align-items: start;
}

.request h2,
.contact-card h2 {
    color: var(--white);
}

.request p {
    max-width: 470px;
    margin: 16px 0 28px;
    color: var(--muted-white);
    font-size: 17px;
    line-height: 1.38;
}

.contact-card {
    margin-top: 0;
    padding: 36px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 22px;
    background: radial-gradient(circle at 12% 8%, rgba(255, 255, 255, .08), transparent 28%), #0b1016;
}

.contact-list {
    display: grid;
    gap: 20px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.contact-list li {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 16px;
    align-items: start;
}

.contact-icon,
.footer-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
}

.contact-icon img,
.footer-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-list span,
.footer-label {
    display: block;
    color: rgba(255, 255, 255, .54);
    font-weight: 800;
}

.contact-list a,
.contact-list p {
    margin: 3px 0 0;
    color: var(--white);
    font-weight: 800;
}

.site-footer {
    min-height: 318px;
    padding: 46px 0 26px;
    background: var(--white);
    color: var(--heading);
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 150px minmax(430px, 1fr) minmax(260px, .75fr);
    gap: 42px;
    align-items: start;
}

.footer-addresses,
.footer-contacts {
    display: grid;
    gap: 18px;
}

.footer-contact-row {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 14px;
    align-items: start;
}

.footer-icon {
    width: 35px;
    height: 35px;
}

.footer-label {
    color: rgba(0, 0, 0, .46);
}

.footer-contact-row p,
.footer-contact-row a {
    margin: 3px 0 0;
    color: var(--heading);
    font-weight: 800;
    line-height: 1.35;
}

.footer-title {
    display: block;
    margin-bottom: 4px;
    color: var(--orange);
    font-size: 18px;
}

.footer-cta {
    grid-column: 2 / 4;
    display: flex;
    justify-content: flex-start;
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    margin-top: 48px;
    color: rgba(0, 0, 0, .52);
    font-size: 14px;
    font-weight: 700;
}

.site-footer__bottom p {
    margin: 0;
}

.site-footer__bottom a {
    max-width: 220px;
    color: var(--orange);
    font-weight: 800;
}

/* .modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.is-open {
    display: flex;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(3, 8, 14, .8);
}

.modal__dialog {
    position: relative;
    width: min(100%, 650px);
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 34px;
    border-radius: 22px;
    background: #10161d;
    color: var(--white);
}

.modal__dialog h2 {
    color: var(--white);
    padding-right: 44px;
}

.modal__dialog p {
    margin: 14px 0 22px;
    color: var(--muted-white);
}

.modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    background: transparent;
    color: var(--white);
    font-size: 26px;
} */

@media (max-width: 1180px) {
    .container {
        width: min(100% - 48px, 1120px);
    }

    .header-main__inner {
        grid-template-columns: 122px 1fr auto;
    }

    .site-nav__list {
        gap: 17px;
    }

    .projects-grid {
        gap: 20px;
    }

    .project-card {
        padding: 28px;
    }

    .round-arrow {
        top: 28px;
        right: 28px;
    }

    .project-hero {
        grid-template-columns: 1fr 350px;
        gap: 38px;
    }

    .request__inner {
        grid-template-columns: 1fr;
    }

    .contact-card {
        max-width: 620px;
    }
}

@media (max-width: 960px) {
    .header-main__inner {
        grid-template-columns: auto 1fr auto;
        min-height: 78px;
    }

    .burger {
        display: flex;
        justify-self: end;
    }

    .header-main__cta {
        display: none;
    }

    .site-nav {
        position: absolute;
        top: 114px;
        left: 24px;
        right: 24px;
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: .2s ease;
        border-radius: 18px;
        padding: 16px;
        background: var(--white);
        box-shadow: 0 18px 46px rgba(0, 0, 0, .16);
    }

    .site-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .site-nav__list {
        display: block;
    }

    .site-nav a,
    .nav-dropdown-toggle {
        width: 100%;
        min-height: 46px;
        justify-content: space-between;
    }

    .product-dropdown {
        position: static;
        width: auto;
        margin: 0 0 8px;
        padding: 10px 16px;
        box-shadow: none;
        background: #f5f5f5;
    }

    .site-nav__item--dropdown:hover .product-dropdown,
    .site-nav__item--dropdown:focus-within .product-dropdown {
        display: none;
    }

    .site-nav__item--dropdown.is-open .product-dropdown {
        display: block;
    }

    .projects-grid,
    .project-hero,
    .project-about,
    .gallery-grid,
    .site-footer__inner {
        grid-template-columns: 1fr;
    }

    .project-card {
        min-height: 0;
    }

    .project-card h3 {
        min-height: auto;
        margin-bottom: 34px;
    }

    .project-hero__image,
    .project-about__image {
        height: auto;
        aspect-ratio: 16 / 8.2;
    }

    .project-facts {
        max-width: 520px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-cta {
        grid-column: 1;
    }
}

@media (max-width: 640px) {
    .container {
        width: calc(100% - 32px);
    }

    .header-top__inner {
        min-height: 44px;
        flex-direction: column;
        justify-content: center;
        gap: 2px;
        font-size: 13px;
    }

    .header-main__inner {
        min-height: 72px;
    }

    .logo {
        width: 70px;
        height: 50px;
    }

    .site-nav {
        top: 116px;
        left: 16px;
        right: 16px;
    }

    .projects-page {
        padding: 46px 0 40px;
    }

    .projects-head {
        margin-bottom: 30px;
    }

    .projects-head p,
    .project-hero__text p,
    .project-copy p,
    .project-result p {
        font-size: 17px;
    }

    .project-card {
        padding: 22px;
        border-radius: 18px;
    }

    .round-arrow {
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }

    .project-card__place {
        font-size: 16px;
        padding-right: 54px;
    }

    .project-card img {
        border-radius: 18px;
    }

    .project-detail {
        padding: 42px 0 50px;
    }

    .project-hero,
    .project-about {
        gap: 28px;
    }

    .project-about,
    .project-gallery,
    .project-result {
        margin-top: 44px;
    }

    .project-facts {
        padding: 24px;
        gap: 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-card {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .request {
        padding: 44px 0 56px;
    }

    .contact-card {
        padding: 24px;
    }

    .site-footer {
        padding: 38px 0 28px;
    }

    .site-footer__bottom {
        flex-direction: column;
        gap: 18px;
    }

    .site-footer__bottom a {
        max-width: none;
    }
}