/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: #151515;
    background: #ffffff;

    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(100% - 40px, 1240px);
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 100;

    color: #ffffff;
}

.header-inner {
    height: 90px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


.logo {
    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 15px;

    font-weight: 800;

    line-height: 0.95;

    letter-spacing: 1px;
}

.logo small {
    font-size: 9px;

    letter-spacing: 3px;

    opacity: 0.65;
}

.logo-icon {
    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #ffd400;

    color: #111;

    font-size: 20px;

    clip-path: polygon(
        25% 6%,
        75% 6%,
        100% 50%,
        75% 94%,
        25% 94%,
        0 50%
    );
}


.nav {
    display: flex;

    align-items: center;

    gap: 30px;

    font-size: 14px;
}

.nav a {
    opacity: 0.85;

    transition: 0.25s;
}

.nav a:hover,
.nav a.active {
    color: #ffd400;

    opacity: 1;
}


.header-phone {
    font-size: 17px;

    font-weight: 700;

    white-space: nowrap;

    transition: 0.25s;
}

.header-phone:hover {
    color: #ffd400;
}


.mobile-menu-button {
    display: none;

    border: 0;

    background: transparent;

    color: #ffffff;

    font-size: 28px;

    cursor: pointer;
}


/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu {
    display: none;

    position: fixed;

    top: 0;
    right: 0;

    width: 280px;

    min-height: 100vh;

    padding: 100px 30px 30px;

    background: #111;

    color: #fff;

    z-index: 200;

    flex-direction: column;

    gap: 25px;

    box-shadow: -10px 0 40px rgba(0,0,0,.3);
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    font-size: 18px;
}

.mobile-phone {
    margin-top: 20px;

    padding: 15px;

    background: #ffd400;

    color: #111;

    font-weight: 700;

    text-align: center;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 760px;

    position: relative;

    display: flex;

    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.88),
            rgba(0,0,0,.55),
            rgba(0,0,0,.25)
        ),
        url("images/hero.jpg")
        center / cover no-repeat;

    color: #fff;
}


.hero::after {
    content: "";

    position: absolute;

    bottom: 0;
    left: 0;

    width: 100%;

    height: 120px;

    background:
        linear-gradient(
            to top,
            #fff,
            transparent
        );

    pointer-events: none;
}


.hero-content {
    position: relative;

    z-index: 2;

    padding-top: 80px;
}


.hero-label {
    display: inline-block;

    margin-bottom: 25px;

    padding: 9px 14px;

    background: #ffd400;

    color: #111;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;
}


.hero h1 {
    font-size: clamp(42px, 6vw, 78px);

    line-height: 0.98;

    letter-spacing: -3px;

    max-width: 950px;
}

.hero h1 span {
    color: #ffd400;
}


.hero-description {
    max-width: 620px;

    margin-top: 30px;

    font-size: 19px;

    line-height: 1.6;

    color: rgba(255,255,255,.8);
}


.hero-buttons {
    display: flex;

    gap: 15px;

    margin-top: 35px;

    flex-wrap: wrap;
}


.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 55px;

    padding: 0 28px;

    font-size: 14px;

    font-weight: 800;

    transition: 0.25s;

    border: 2px solid transparent;
}


.button-yellow {
    background: #ffd400;

    color: #111;
}

.button-yellow:hover {
    background: #ffffff;

    transform: translateY(-2px);
}


.button-outline {
    border-color: rgba(255,255,255,.5);

    color: #fff;
}

.button-outline:hover {
    border-color: #ffd400;

    color: #ffd400;
}


.button-dark {
    background: #151515;

    color: #fff;
}

.button-dark:hover {
    background: #ffd400;

    color: #111;
}


.hero-location {
    margin-top: 35px;

    font-size: 14px;

    color: rgba(255,255,255,.7);
}


/* =========================================================
   BRANDS
========================================================= */

.brands {
    padding: 30px 0 100px;
}

.section-small-title {
    margin-bottom: 25px;

    color: #888;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;
}


.brands-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;
}


.brand-card {
    min-height: 170px;

    padding: 30px;

    background: #f4f4f4;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    transition: 0.3s;
}

.brand-card:hover {
    transform: translateY(-5px);

    background: #eeeeee;
}


.brand-logo {
    font-size: 38px;

    font-weight: 900;
}


.brand-logo.ozon {
    color: #006cff;
}

.brand-logo.wb {
    color: #a000ff;
}

.brand-logo.ym {
    color: #ffcc00;
}


.brand-card p {
    color: #777;

    font-size: 13px;
}


/* =========================================================
   SECTIONS
========================================================= */

.section {
    padding: 110px 0;
}


.section-heading {
    margin-bottom: 60px;
}


.section-number {
    margin-right: 12px;

    color: #ffd400;

    font-weight: 900;
}


.section-label {
    font-size: 11px;

    font-weight: 900;

    letter-spacing: 2px;

    color: #777;
}


.section-heading h2 {
    margin-top: 15px;

    font-size: clamp(36px, 5vw, 60px);

    line-height: 1;

    letter-spacing: -2px;
}


.section-heading p {
    max-width: 600px;

    margin-top: 20px;

    color: #777;

    line-height: 1.7;
}


/* =========================================================
   SERVICES
========================================================= */

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;
}


.service-card {
    position: relative;

    min-height: 280px;

    padding: 35px;

    background: #f5f5f5;

    transition: 0.3s;
}

.service-card:hover {
    background: #151515;

    color: #fff;

    transform: translateY(-5px);
}

.service-number {
    position: absolute;

    top: 25px;
    right: 25px;

    color: #bbb;

    font-size: 12px;
}


.service-icon {
    font-size: 35px;

    margin-bottom: 30px;
}


.service-card h3 {
    margin-bottom: 15px;

    font-size: 23px;
}


.service-card p {
    color: #777;

    line-height: 1.6;
}

.service-card:hover p {
    color: #aaa;
}


/* =========================================================
   ABOUT
========================================================= */

.about-content-only {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content-only .about-content {
    width: 100%;
}

.about-content-only .advantages {
    justify-content: center;
}

.about-content-only .advantage {
    justify-content: center;
}


.about-content h2 {
    margin-top: 20px;

    font-size: clamp(38px, 5vw, 60px);

    line-height: 1;

    letter-spacing: -2px;
}


.about-content > p {
    margin-top: 25px;

    max-width: 550px;

    color: #666;

    line-height: 1.7;
}


.advantages {
    margin-top: 40px;

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;
}


.advantage {
    display: flex;

    gap: 15px;

    align-items: center;

    font-weight: 700;

    font-size: 14px;
}


.advantage strong {
    color: #ffd400;

    font-size: 13px;
}


/* =========================================================
   WORKS
========================================================= */

.preview-gallery {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 12px;
}


.preview-image {
    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: #ddd;
}


.preview-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: 0.5s;
}


.preview-image:hover img {
    transform: scale(1.06);
}


.gallery-button-container {
    margin-top: 30px;

    text-align: center;
}


/* =========================================================
   PROCESS
========================================================= */

.process {
    padding: 110px 0;

    background: #151515;

    color: #fff;
}


.process-heading h2 {
    color: #fff;
}


.process-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 0;
}


.process-item {
    padding: 35px;

    border-left: 1px solid #333;
}


.process-item:first-child {
    border-left: 0;
}


.process-item > span {
    color: #ffd400;

    font-size: 14px;

    font-weight: 900;
}


.process-item h3 {
    margin-top: 30px;

    font-size: 22px;
}


.process-item p {
    margin-top: 15px;

    color: #888;

    line-height: 1.6;
}


/* =========================================================
   CONTACTS
========================================================= */

.contacts {
    padding: 120px 0;

    background: #ffd400;
}


.contacts-inner {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;
}


.contacts h2 {
    margin-top: 20px;

    font-size: clamp(40px, 6vw, 75px);

    line-height: .95;

    letter-spacing: -3px;
}


.contacts p {
    max-width: 500px;

    margin-top: 25px;

    line-height: 1.6;
}


.contact-right {
    min-width: 400px;
}


.big-phone {
    display: block;

    font-size: clamp(28px, 4vw, 48px);

    font-weight: 900;

    white-space: nowrap;
}


.contact-location {
    margin: 20px 0 30px;

    font-size: 14px;
}


.contact-right .button {
    background: #111;

    color: #fff;
}

.contact-right .button:hover {
    background: #fff;

    color: #111;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding: 30px 0;

    background: #0c0c0c;

    color: #777;

    font-size: 12px;
}


.footer-inner {
    display: flex;

    justify-content: space-between;

    gap: 20px;
}


/* =========================================================
   GALLERY PAGE
========================================================= */

.gallery-page {
    background: #f5f5f5;
}


.gallery-page .header {
    position: relative;

    background: #111;
}


.gallery-header {
    padding: 100px 0 80px;

    background: #111;

    color: #fff;
}


.back-link {
    display: inline-block;

    margin-bottom: 60px;

    color: #aaa;

    font-size: 13px;
}

.back-link:hover {
    color: #ffd500;
}


.gallery-header h1 {
    margin-top: 15px;

    font-size: clamp(50px, 7vw, 90px);

    letter-spacing: -4px;
}


.gallery-header p {
    margin-top: 20px;

    color: #999;
}


.gallery-container {
    padding: 80px 0;
}


.gallery-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;
}


.gallery-item {
    position: relative;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    cursor: pointer;

    background: #ddd;
}


.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: .5s;
}


.gallery-item:hover img {
    transform: scale(1.05);
}


.gallery-number {
    position: absolute;

    bottom: 15px;
    left: 15px;

    padding: 7px 10px;

    background: rgba(0,0,0,.7);

    color: #fff;

    font-size: 11px;
}


/* =========================================================
   LIGHTBOX
========================================================= */

.lightbox {
    position: fixed;

    inset: 0;

    z-index: 999;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 50px;

    background: rgba(0,0,0,.96);
}


.lightbox.open {
    display: flex;
}


.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;

    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;
}


#lightbox-image {
    max-width: 90vw;

    max-height: 85vh;

    width: auto;
    height: auto;

    object-fit: contain;
}


.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;

    border: 0;

    background: transparent;

    color: #fff;

    cursor: pointer;

    z-index: 5;

    transition: .2s;
}


.lightbox-close {
    top: 20px;
    right: 30px;

    font-size: 45px;
}


.lightbox-prev {
    left: 25px;

    font-size: 70px;
}


.lightbox-next {
    right: 25px;

    font-size: 70px;
}


.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: #ffd400;
}


.lightbox-counter {
    position: absolute;

    bottom: -35px;

    left: 50%;

    transform: translateX(-50%);

    color: #aaa;

    font-size: 13px;
}


/* =========================================================
   EMPTY GALLERY
========================================================= */

.empty-gallery {
    padding: 120px 20px;

    text-align: center;

    background: #fff;
}


.empty-icon {
    font-size: 50px;
}


.empty-gallery h2 {
    margin-top: 20px;
}


.empty-gallery p {
    margin-top: 10px;

    color: #888;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .nav {
        display: none;
    }

    .header-phone {
        margin-left: auto;
    }

    .mobile-menu-button {
        display: block;
    }

    .services-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .preview-gallery {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .process-item:nth-child(3) {
        border-left: 0;
    }

    .about-grid {
        gap: 40px;
    }

    .gallery-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .container {
        width: min(100% - 30px, 1240px);
    }


    .header-inner {
        height: 75px;
    }


    .header-phone {
        display: none;
    }


    .logo {
        font-size: 13px;
    }


    .logo-icon {
        width: 34px;
        height: 34px;

        font-size: 17px;
    }


    .hero {
        min-height: 700px;

        background-position:
            65% center;
    }


    .hero-content {
        padding-top: 100px;
    }


    .hero h1 {
        font-size: clamp(40px, 12vw, 60px);

        letter-spacing: -2px;
    }


    .hero-description {
        font-size: 16px;

        line-height: 1.5;
    }


    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }


    .button {
        width: 100%;
    }


    .brands {
        padding-bottom: 70px;
    }


    .brands-grid {
        grid-template-columns: 1fr;
    }


    .brand-card {
        min-height: 140px;
    }


    .section {
        padding: 75px 0;
    }


    .section-heading {
        margin-bottom: 40px;
    }


    .section-heading h2 {
        font-size: 42px;
    }


    .services-grid {
        grid-template-columns: 1fr;
    }


    .service-card {
        min-height: 240px;

        padding: 30px;
    }


    .about {
        padding: 75px 0;
    }


    .about-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }


    .about-image-placeholder {
        min-height: 350px;
    }


    .about-content h2 {
        font-size: 42px;
    }


    .advantages {
        grid-template-columns: 1fr;
    }


    .preview-gallery {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 8px;
    }


    .process {
        padding: 75px 0;
    }


    .process-grid {
        grid-template-columns: 1fr;
    }


    .process-item {
        border-left: 0;

        border-top: 1px solid #333;

        padding: 30px 0;
    }


    .process-item:first-child {
        border-top: 0;
    }


    .contacts {
        padding: 80px 0;
    }


    .contacts-inner {
        flex-direction: column;

        align-items: flex-start;
    }


    .contacts h2 {
        font-size: 45px;

        letter-spacing: -2px;
    }


    .contact-right {
        min-width: 0;

        width: 100%;
    }


    .big-phone {
        font-size: 29px;

        white-space: normal;
    }


    .footer-inner {
        flex-direction: column;

        text-align: center;
    }


    /* GALLERY */

    .gallery-header {
        padding: 60px 0;
    }


    .back-link {
        margin-bottom: 40px;
    }


    .gallery-header h1 {
        font-size: 58px;
    }


    .gallery-container {
        padding: 40px 0;
    }


    .gallery-grid {
        grid-template-columns: 1fr;

        gap: 10px;
    }


    .gallery-item {
        aspect-ratio: 4 / 3;
    }


    .lightbox {
        padding: 15px;
    }


    #lightbox-image {
        max-width: 100vw;

        max-height: 80vh;
    }


    .lightbox-prev {
        left: 5px;

        font-size: 50px;
    }


    .lightbox-next {
        right: 5px;

        font-size: 50px;
    }


    .lightbox-close {
        top: 10px;

        right: 15px;

        font-size: 40px;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 360px) {

    .container {
        width: calc(100% - 24px);
    }

    .hero h1 {
        font-size: 37px;
    }

    .contacts h2 {
        font-size: 38px;
    }

}