Ы
/* =========================================================
   ОСНОВНЫЕ СТИЛИ
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #0F2137;
    background: #ffffff;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
input {
    font-family: inherit;
}

.container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e8edf2;
}

.header-inner {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* ЛОГОТИП */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    flex-shrink: 0;
}

.logo-symbol {
    width: 55px;
    flex-shrink: 0;
}

.logo-symbol svg {
    width: 100%;
    height: auto;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;

    font-size: 21px;
    font-weight: 800;
    line-height: 1;

    color: #0F2137;
}

.logo-text > span {
    color: #159DAB;
}

.logo-text small {
    margin-top: 5px;

    font-size: 7px;
    letter-spacing: 1.4px;

    color: #8DA9C4;
    font-weight: 700;
}


/* НАВИГАЦИЯ */

.navigation {
    display: flex;
    align-items: center;
    gap: 28px;
}

.navigation a {
    font-size: 14px;
    font-weight: 600;

    transition: color 0.25s ease;
}

.navigation a:hover {
    color: #159DAB;
}


/* ТЕЛЕФОН */

.header-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;

    flex-shrink: 0;
}

.header-phone {
    font-size: 16px;
    font-weight: 700;
}

.header-link {
    font-size: 12px;
    color: #159DAB;
    font-weight: 600;
}


/* МОБИЛЬНОЕ МЕНЮ */

#menu-toggle {
    display: none;
}

.burger {
    display: none;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 760px;
    padding-top: 82px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: #0F2137;
    color: #fff;
}

.hero-image {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(15, 33, 55, 0.97) 0%,
            rgba(15, 33, 55, 0.86) 40%,
            rgba(15, 33, 55, 0.45) 70%,
            rgba(15, 33, 55, 0.2) 100%
        ),
        url("images/work-1.jpg") center / cover no-repeat;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 700px;
    padding: 80px 0 150px;
}


/* ОПЫТ */

.experience {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 25px;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;

    color: #dbe6ef;
}

.experience span {
    padding: 7px 12px;

    background: #159DAB;
    color: #fff;

    font-size: 14px;
    font-weight: 800;
}


/* ТЕКСТ */

.hero-label {
    margin-bottom: 12px;

    color: #8DA9C4;

    font-size: 14px;
    font-weight: 600;
}

.hero h1 {
    margin-bottom: 8px;

    font-size: clamp(42px, 6vw, 76px);
    line-height: 0.95;

    font-weight: 800;
    letter-spacing: -2px;
}

.hero h2 {
    margin-bottom: 25px;

    font-size: clamp(25px, 3vw, 40px);
    line-height: 1.15;

    font-weight: 500;
}

.hero h2 span {
    color: #159DAB;
}

.hero-description {
    max-width: 540px;

    margin-bottom: 12px;

    font-size: 20px;
    line-height: 1.45;

    font-weight: 500;
}

.hero-subdescription {
    max-width: 580px;

    margin-bottom: 35px;

    color: #b9c7d5;

    font-size: 14px;
}


/* КНОПКИ HERO */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    min-height: 52px;

    padding: 0 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    border: 0;
    border-radius: 5px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: #159DAB;
    color: #fff;

    box-shadow:
        0 8px 25px rgba(21, 157, 171, 0.25);
}

.btn-primary:hover {
    background: #128b98;
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.45);

    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.13);
}


/* =========================================================
   HERO BOTTOM
========================================================= */

.hero-bottom {
    position: absolute;

    bottom: 0;
    left: 0;

    width: 100%;

    z-index: 3;

    background: rgba(15, 33, 55, 0.92);

    border-top:
        1px solid rgba(255, 255, 255, 0.1);
}

.benefits-strip {
    min-height: 92px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.strip-item {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 13px;

    border-right:
        1px solid rgba(255, 255, 255, 0.1);

    color: #fff;
}

.strip-item:last-child {
    border-right: 0;
}

.strip-item i {
    color: #159DAB;
    font-size: 23px;
}

.strip-item span {
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
}


/* =========================================================
   SECTIONS
========================================================= */

.section {
    padding: 100px 0;
}

.section-heading {
    max-width: 700px;

    margin: 0 auto 55px;

    text-align: center;
}

.section-label {
    display: inline-block;

    margin-bottom: 10px;

    color: #159DAB;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.section-heading h2,
.about-content h2 {
    margin-bottom: 15px;

    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;

    color: #0F2137;
}

.section-heading p {
    color: #687789;
    font-size: 16px;
}


/* =========================================================
   ADVANTAGES
========================================================= */

.advantages {
    background: #f6f9fb;
}

.advantages-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.advantage-card {
    padding: 35px 28px;

    background: #fff;

    border:
        1px solid #e4ebf0;

    border-radius: 8px;

    text-align: center;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.advantage-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 15px 35px rgba(15, 33, 55, 0.08);
}

.advantage-icon {
    width: 62px;
    height: 62px;

    margin: 0 auto 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(21, 157, 171, 0.1);

    color: #159DAB;

    font-size: 24px;
}

.advantage-card h3 {
    margin-bottom: 12px;

    font-size: 18px;
}

.advantage-card p {
    color: #718092;

    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   ABOUT
========================================================= */

.about-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    align-items: center;

    gap: 70px;
}

.about-content h2 {
    margin-top: 8px;
}

.about-content p {
    margin-bottom: 18px;

    color: #687789;

    font-size: 16px;
}

.about-content .btn {
    margin-top: 15px;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;

    object-fit: cover;

    border-radius: 8px;
}

.about-badge {
    position: absolute;

    left: 25px;
    bottom: 25px;

    padding: 18px 24px;

    display: flex;
    flex-direction: column;

    background: #fff;

    border-left:
        4px solid #159DAB;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-badge strong {
    color: #0F2137;
    font-size: 25px;
}

.about-badge span {
    color: #718092;
    font-size: 12px;
}


/* =========================================================
   PORTFOLIO
========================================================= */

.portfolio {
    background: #f6f9fb;
}


/* КОНТЕЙНЕР СЛАЙДЕРА */

.portfolio-slider {
    display: flex;
    align-items: center;

    gap: 18px;

    width: 100%;
}


/* ЛЕНТА */

.portfolio-track {
    flex: 1;
    min-width: 0;

    display: flex;

    gap: 22px;

    overflow-x: auto;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;

    scrollbar-width: none;

    padding:
        10px 2px 25px;

    cursor: grab;
}

.portfolio-track:active {
    cursor: grabbing;
}

.portfolio-track::-webkit-scrollbar {
    display: none;
}


/* КАРТОЧКА */

.portfolio-card {
    position: relative;

    flex:
        0 0
        calc((100% - 44px) / 3);

    height: 390px;

    overflow: hidden;

    border-radius: 10px;

    background: #0F2137;

    scroll-snap-align: start;
}


/* ФОТО */

.portfolio-card img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.4s ease;
}

.portfolio-card:hover img {
    transform: scale(1.05);
}


/* ЗАТЕМНЕНИЕ */

.portfolio-card::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 45%;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.78),
            transparent
        );

    pointer-events: none;
}


/* ТЕКСТ КАРТОЧКИ */

.portfolio-caption {
    position: absolute;

    left: 22px;
    right: 22px;
    bottom: 20px;

    z-index: 2;

    color: #fff;
}

.portfolio-caption h3 {
    margin: 0 0 5px;

    font-size: 19px;
}

.portfolio-caption span {
    color: #d0dbe4;

    font-size: 13px;
}


/* СТРЕЛКИ */

.portfolio-arrow {
    width: 48px;
    height: 48px;

    min-width: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: #159DAB;

    color: #fff;

    font-size: 16px;

    cursor: pointer;

    z-index: 5;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.portfolio-arrow:hover {
    background: #128b98;

    transform: scale(1.08);
}

.portfolio-arrow:active {
    transform: scale(0.95);
}


/* СЧЁТЧИК */

.portfolio-progress {
    margin-top: 5px;

    text-align: center;
}

.portfolio-progress span {
    color: #718092;

    font-size: 14px;

    font-weight: 600;
}


/* =========================================================
   CONTACTS
========================================================= */

.contacts {
    background: #fff;
}

.contacts-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 30px;
}

.contact-info,
.contact-form {
    padding: 40px;

    border-radius: 8px;

    background: #f6f9fb;

    border:
        1px solid #e4ebf0;
}

.contact-info h3,
.contact-form h3 {
    margin-bottom: 30px;

    font-size: 23px;
}

.contact-item {
    display: flex;
    align-items: flex-start;

    gap: 16px;

    margin-bottom: 24px;
}

.contact-icon {
    width: 45px;
    height: 45px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        rgba(21, 157, 171, 0.1);

    color: #159DAB;

    border-radius: 50%;
}

.contact-item span {
    display: block;

    margin-bottom: 3px;

    color: #718092;

    font-size: 12px;
}

.contact-item a {
    font-weight: 700;
}

.contact-item a:hover {
    color: #159DAB;
}

.contact-item p {
    margin: 0;

    font-size: 14px;
}


/* TELEGRAM */

/* КНОПКА TELEGRAM — КАК ОТПРАВИТЬ ЗАЯВКУ */

.contact-info > .btn-primary {
    width: 100%;
    margin-top: 5px;
    box-sizing: border-box;
}


/* ФОРМА */

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-bottom: 7px;

    font-size: 13px;
    font-weight: 600;
}

.contact-form input {
    width: 100%;
    height: 52px;

    margin-bottom: 18px;

    padding: 0 16px;

    border:
        1px solid #d8e1e8;

    border-radius: 5px;

    outline: none;

    font-family: inherit;
    font-size: 14px;

    background: #fff;
}

.contact-form input:focus {
    border-color: #159DAB;
}

.contact-form button {
    width: 100%;

    margin-top: 5px;
}

.form-note {
    margin-top: 12px;

    color: #8995a3;

    font-size: 11px;
    line-height: 1.5;

    text-align: center;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding: 30px 0;

    background: #0F2137;

    color: #fff;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}

.footer-logo {
    font-size: 20px;
    font-weight: 800;
}

.footer-logo span {
    color: #159DAB;
}

.footer p {
    margin: 0;

    color: #8fa1b3;

    font-size: 12px;
}

.footer-contacts {
    display: flex;
    flex-direction: column;

    align-items: flex-end;

    gap: 5px;

    font-size: 12px;
}

.footer-contacts a {
    font-weight: 700;
}

.footer-contacts a:hover {
    color: #159DAB;
}

.footer-contacts span {
    color: #8fa1b3;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .navigation {
        gap: 15px;
    }

    .header-contact {
        display: none;
    }


    /* Преимущества */

    .advantages-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    /* О компании */

    .about-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }


    /* Портфолио */

    .portfolio-card {
        flex:
            0 0
            calc((100% - 22px) / 2);
    }


    /* Контакты */

    .contacts-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .container {
        width:
            min(
                calc(100% - 30px),
                1200px
            );
    }


    /* HEADER */

    .header-inner {
        min-height: 70px;
    }

    .logo-symbol {
        width: 45px;
    }

    .logo-text {
        font-size: 17px;
    }

    .logo-text small {
        font-size: 6px;
    }


    /* BURGER */

    .burger {
        width: 30px;
        height: 24px;

        display: flex;

        flex-direction: column;
        justify-content: space-between;

        cursor: pointer;

        z-index: 1002;
    }

    .burger span {
        width: 100%;
        height: 2px;

        background: #0F2137;

        transition: 0.25s;
    }


    /* MOBILE NAVIGATION */

    .navigation {
        position: fixed;

        top: 70px;
        left: 0;

        width: 100%;

        padding: 25px;

        display: flex;
        flex-direction: column;

        align-items: flex-start;

        gap: 20px;

        background: #fff;

        border-bottom:
            1px solid #e4ebf0;

        transform:
            translateY(-150%);

        transition:
            transform 0.3s ease;
    }

    #menu-toggle:checked ~ .navigation {
        transform:
            translateY(0);
    }


    /* BURGER ANIMATION */

    #menu-toggle:checked + .burger span:nth-child(1) {
        transform:
            translateY(11px)
            rotate(45deg);
    }

    #menu-toggle:checked + .burger span:nth-child(2) {
        opacity: 0;
    }

    #menu-toggle:checked + .burger span:nth-child(3) {
        transform:
            translateY(-11px)
            rotate(-45deg);
    }


    /* HERO */

    .hero {
        min-height: 720px;
    }

    .hero-content {
        padding:
            50px 0 150px;
    }

    .hero h1 {
        font-size: 43px;

        letter-spacing: -1px;
    }

    .hero h2 {
        font-size: 27px;
    }

    .hero-description {
        font-size: 17px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }


    /* BENEFITS */

    .benefits-strip {
        min-height: auto;

        grid-template-columns:
            repeat(2, 1fr);
    }

    .strip-item {
        min-height: 70px;

        padding: 10px;

        justify-content: flex-start;
    }

    .strip-item:nth-child(2) {
        border-right: 0;
    }

    .strip-item:nth-child(3),
    .strip-item:nth-child(4) {
        border-top:
            1px solid rgba(255, 255, 255, 0.1);
    }


    /* SECTIONS */

    .section {
        padding: 70px 0;
    }


    /* ADVANTAGES */

    .advantages-grid {
        grid-template-columns: 1fr;
    }


    /* ABOUT */

    .about-image img {
        height: 400px;
    }


    /* PORTFOLIO */

    .portfolio-slider {
        gap: 8px;
    }

    .portfolio-track {
        gap: 15px;

        padding-left: 0;
        padding-right: 0;
    }

    .portfolio-card {
        flex:
            0 0 85%;

        height: 340px;
    }

    .portfolio-card img {
        height: 340px;
    }

    .portfolio-caption {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }

    .portfolio-caption h3 {
        font-size: 17px;
    }

    .portfolio-arrow {
        width: 40px;
        height: 40px;

        min-width: 40px;
    }


    /* CONTACTS */

    .contact-info,
    .contact-form {
        padding:
            25px 20px;
    }


    /* FOOTER */

    .footer-inner {
        flex-direction: column;

        text-align: center;
    }

    .footer-contacts {
        align-items: center;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 450px) {

    .logo-text {
        font-size: 15px;
    }

    .logo-symbol {
        width: 40px;
    }

    .hero h1 {
        font-size: 37px;
    }

    .hero h2 {
        font-size: 24px;
    }

    .portfolio-card {
        flex-basis: 88%;
    }

}
