﻿﻿.uni-machining-page {
    width: 100%;
    max-width: none !important;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #fff;
    color: #15213a;
    font-family: "Montserrat", Arial, sans-serif;
}

main.uni-machining-page.site-main {
    width: 100%;
    max-width: none !important;
    margin: 0;
    padding: 0;
}

.uni-machining-page * {
    box-sizing: border-box;
}

.uni-machining-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.uni-machining-hero {
    position: relative;
    height: min(700px, calc(100vw * 700 / 1920));
    min-height: 500px;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% 100%;
}

.uni-machining-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .18);
    pointer-events: none;
}

.uni-machining-hero__inner {
    position: relative;
    z-index: 1;
    height: 100%;
}

.uni-machining-hero__copy {
    position: absolute;
    left: 130px;
    top: 24%;
    width: 520px;
}

.uni-machining-hero__copy > p {
    margin: 0 0 20px;
    color: #151515;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 800;
}

.uni-machining-hero h1 {
    margin: 0 0 30px;
    color: #fff;
    font-size: 60px;
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: 0;
}

.uni-machining-hero ul {
    width: 452px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.uni-machining-hero li {
    min-height: 42px;
    margin-bottom: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(79, 79, 79, .82);
    color: #fff;
    font-size: 20px;
    line-height: 1.1;
    font-weight: 800;
    text-align: center;
}

.uni-machining-product {
    background: #fff;
}

.uni-machining-product__grid {
    display: grid;
    grid-template-columns: 420px minmax(0, 1fr);
    align-items: center;
    gap: 82px;
}

.uni-machining-product__copy {
    text-align: center;
}

.uni-machining-product h2 {
    margin: 0 0 13px;
    color: #111;
    font-size: 46px;
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: 0;
}

.uni-machining-product h2 strong {
    font-size: 58px;
    font-weight: 900;
}

.uni-machining-product h2 span {
    color: #757575;
    font-weight: 400;
}

.uni-machining-product h3 {
    margin: 0 0 28px;
    color: #17254a;
    font-size: 31px;
    line-height: 1.18;
    font-weight: 800;
}

.uni-machining-product p {
    margin: 0 0 28px;
    color: #5b5b5b;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 700;
}

.uni-machining-product a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 26px;
    padding: 0 14px;
    border-radius: 999px;
    background: #252d3d;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
}

.uni-machining-product a::after {
    content: ">";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    color: #252d3d;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
}

.uni-machining-product--vmc {
    padding: 118px 0 104px;
}

.uni-machining-product--vmc img {
    width: 705px;
    max-width: 100%;
    height: auto;
    display: block;
}

.uni-machining-product--tck {
    padding: 70px 0 70px;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
}

.uni-machining-product--tck .uni-machining-product__grid {
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 84px;
}

.uni-machining-product--tck img {
    width: 545px;
    max-width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: top center;
    display: block;
    justify-self: center;
}

.uni-machining-product--tck .uni-machining-product__copy {
    padding-top: 12px;
    transform: translateY(-80px);
}

.uni-machining-product--tcky {
    padding: 132px 0 138px;
}

.uni-machining-product--tcky img {
    width: 697px;
    max-width: 100%;
    height: auto;
    display: block;
}

.uni-machining-product--tcky .uni-machining-product__grid {
    grid-template-columns: 420px minmax(0, 1fr);
    gap: 105px;
}

.uni-machining-quote {
    padding: 70px 0 76px;
    background: #f1f1f1;
}

.uni-machining-quote__head {
    display: grid;
    grid-template-columns: 255px minmax(0, 1fr);
    gap: 138px;
    align-items: center;
    width: min(1040px, 100%);
    margin: 0 auto 28px;
}

.uni-machining-quote h2 {
    margin: 0;
    color: #080808;
    font-size: 38px;
    line-height: 1.12;
    font-weight: 800;
    text-align: left;
}

.uni-machining-quote__head p {
    margin: 0;
    color: #777;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 500;
}

.uni-machining-quote__form {
    width: min(1040px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 18px;
    align-items: end;
}

.uni-machining-quote__form > input[name="website"] {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.uni-machining-quote__form label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: #202938;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
}

.uni-machining-quote__form input,
.uni-machining-quote__form select,
.uni-machining-quote__form textarea {
    width: 100%;
    min-height: 35px;
    border: 1px solid #d7d7d7;
    border-radius: 5px;
    background: #fff;
    color: #172439;
    font: 500 11px/1.35 "Montserrat", Arial, sans-serif;
    padding: 8px 11px;
    outline: none;
}

.uni-machining-quote__form textarea {
    height: 35px;
    resize: none;
    overflow: hidden;
}

.uni-machining-quote__notes {
    grid-column: span 2;
}

.uni-machining-quote__form button {
    justify-self: stretch;
    min-width: 0;
    height: 35px;
    border: 0;
    border-radius: 5px;
    background: #1f72b8;
    color: #fff;
    font: 800 12px/1 "Montserrat", Arial, sans-serif;
    cursor: pointer;
}

@media (max-width: 1100px) {
    .uni-machining-product__grid,
    .uni-machining-product--tck .uni-machining-product__grid,
    .uni-machining-product--tcky .uni-machining-product__grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .uni-machining-product__copy {
        order: 1;
    }

    .uni-machining-product img {
        order: 2;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .uni-machining-container {
        width: min(100% - 28px, 1200px);
    }

    .uni-machining-hero {
        min-height: 470px;
        background-size: cover;
    }

    .uni-machining-hero__copy {
        left: 0;
        top: 92px;
        width: min(100%, 420px);
    }

    .uni-machining-hero__copy > p {
        font-size: 13px;
    }

    .uni-machining-hero h1 {
        font-size: 40px;
    }

    .uni-machining-hero ul {
        width: min(100%, 360px);
    }

    .uni-machining-hero li {
        font-size: 15px;
    }

    .uni-machining-product--vmc,
    .uni-machining-product--tck,
    .uni-machining-product--tcky,
    .uni-machining-quote {
        padding: 58px 0;
    }

    .uni-machining-product h2,
    .uni-machining-product h2 strong {
        font-size: 38px;
    }

    .uni-machining-product h3 {
        font-size: 25px;
    }

    .uni-machining-product--tck .uni-machining-product__copy {
        transform: none;
    }

    .uni-machining-quote__head,
    .uni-machining-quote__form {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .uni-machining-quote__notes {
        grid-column: auto;
    }
}


