:root {
    --yellow: #ffd20a;
    --orange: #ef5b24;
    --black: #151719;
    --muted: #74777a;
    --line: #e6e6e3;
    --paper: #f5f5f2;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: #fff;
    color: var(--black);
    font-family: Arial, Helvetica, sans-serif
}

button, a {
    font: inherit
}

a {
    color: inherit;
    text-decoration: none
}

button {
    cursor: pointer
}

.container {
    width: min(1180px, calc(100% - 48px));
    margin: auto
}

.topbar {
    background: var(--black);
    color: #fff;
    font-size: 12px
}

.topbar-inner {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.topbar-inner > span {
    text-transform: uppercase;
    letter-spacing: .13em;
    color: var(--yellow);
    font-weight: 700
}

.top-contacts {
    display: flex;
    gap: 25px;
    align-items: center
}

.top-contacts span {
    color: #8d9194
}

.header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line)
}

.header-inner {
    height: 82px;
    display: flex;
    align-items: center;
    gap: 32px
}

.brand {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: none
}

.brand img:first-child {
    width: 156px;
    height: auto
}

.brand-divider {
    height: 33px;
    border-left: 1px solid #ddd
}

.brand .ural-logo {
    width: 127px;
    height: 34px;
    object-fit: cover;
    object-position: center;
    border-radius: 1px
}

.nav {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-left: auto;
    font-size: 13px;
    font-weight: 700
}

.nav a {
    position: relative;
    padding: 32px 0
}

.nav a:after {
    content: "";
    position: absolute;
    height: 3px;
    left: 0;
    right: 100%;
    bottom: 0;
    background: var(--yellow);
    transition: .25s
}

.nav a:hover:after {
    right: 0
}

.callback {
    border: 0;
    background: var(--yellow);
    font-weight: 800
}

.callback.small {
    padding: 14px 18px;
    font-size: 12px
}

.menu-button {
    display: none;
    background: none;
    border: 0;
    width: 38px
}

.menu-button i {
    display: block;
    height: 2px;
    background: #111;
    margin: 5px
}

.hero {
    height: 610px;
    position: relative;
    background: #222;
    overflow: hidden
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity .7s, transform 6.5s
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1)
}

.hero-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff
}

.eyebrow, .kicker {
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: 12px;
    font-weight: 800;
    color: var(--yellow);
    margin: 0 0 18px
}

.hero h1 {
    font-size: clamp(58px, 8vw, 106px);
    line-height: .87;
    margin: 0;
    letter-spacing: -.06em
}

.hero-text {
    font-size: 20px;
    line-height: 1.5;
    max-width: 520px;
    color: #d7d8d8;
    margin: 28px 0 35px
}

.hero-actions {
    display: flex;
    gap: 12px
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 17px 25px;
    font-size: 13px;
    font-weight: 800;
    transition: .2s
}

.button:hover {
    transform: translateY(-2px)
}

.button.primary {
    background: var(--yellow);
    color: #111
}

.button.ghost {
    background: transparent;
    color: #fff;
    border: 1px solid #666
}

.button.dark {
    background: #17191a;
    color: #fff
}

.button.white {
    background: #fff;
    color: #111
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px
}

.dot {
    width: 28px;
    height: 3px;
    border: 0;
    background: #777;
    padding: 0
}

.dot.active {
    background: var(--yellow)
}

.hero-note {
    position: absolute;
    right: 0;
    bottom: 0;
    background: var(--yellow);
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 34px
}

.hero-note b {
    font-size: 30px
}

.hero-note span {
    font-size: 11px;
    line-height: 1.5;
    font-weight: 700
}

.quick {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    margin-top: -1px;
    border: 1px solid var(--line)
}

.quick > a, .quick > button {
    border: 0;
    border-right: 1px solid var(--line);
    background: #fff;
    text-align: left;
    padding: 25px;
    display: grid;
    grid-template-columns:52px 1fr;
    gap: 2px 13px;
    align-items: center
}

.quick > :last-child {
    border-right: 0
}

.quick-icon {
    grid-row: 1/3;
    width: 43px;
    height: 43px;
    border-radius: 50%;
    background: var(--paper);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900
}

.quick b {
    font-size: 14px
}

.quick small {
    color: var(--muted)
}

.section {
    padding: 105px 0
}

.models {
    background: var(--paper)
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px
}

.section-head h2, .service-copy h2, .stats-copy h2, .offer h2, .contact-main h2 {
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.03;
    letter-spacing: -.045em;
    margin: 0
}

.section-head > p {
    max-width: 420px;
    color: var(--muted);
    line-height: 1.7
}

.kicker {
    color: #9a7e00
}

.model-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 20px
}

.model-card {
    position: relative;
    background: #fff;
    padding: 25px;
    overflow: hidden
}

.model-number {
    position: absolute;
    right: 20px;
    top: 18px;
    color: #d5d5d2;
    font-size: 13px;
    font-weight: bold
}

.model-image {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -5px -10px 12px
}

.model-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply
}

.model-card > p {
    color: var(--muted);
    font-size: 12px;
    margin: 0 0 7px
}

.model-card h3 {
    font-size: 27px;
    margin: 0 0 18px
}

.tags {
    display: flex;
    gap: 7px
}

.tags span {
    background: var(--paper);
    padding: 7px 10px;
    font-size: 11px
}

.model-card > button {
    border: 0;
    border-top: 1px solid var(--line);
    background: #fff;
    width: 100%;
    margin-top: 22px;
    padding: 18px 0 0;
    display: flex;
    justify-content: space-between;
    font-weight: 800
}

.stats {
    background: #17191a;
    color: #fff
}

.stats-grid {
    display: grid;
    grid-template-columns:1fr 1.1fr;
    gap: 80px
}

.kicker.light {
    color: var(--yellow)
}

.stats-copy > p:not(.kicker) {
    color: #a9abad;
    line-height: 1.7;
    max-width: 500px
}

.stats-copy > a {
    display: inline-block;
    margin-top: 25px;
    color: var(--yellow);
    font-weight: bold
}

.stat-cards {
    display: grid;
    grid-template-columns:1fr 1fr
}

.stat-cards > div {
    padding: 35px;
    border-left: 1px solid #383a3b;
    border-bottom: 1px solid #383a3b
}

.stat-cards b {
    display: block;
    font-size: 36px;
    color: var(--yellow);
    margin-bottom: 12px
}

.stat-cards span {
    color: #b4b6b7;
    font-size: 13px;
    line-height: 1.5
}

.service-grid {
    display: grid;
    grid-template-columns:1.05fr .95fr;
    gap: 75px;
    align-items: center
}

.service-image {
    height: 600px;
    position: relative;
    overflow: hidden;
    background: #ddd
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.service-image span {
    position: absolute;
    right: 0;
    bottom: 0;
    background: var(--yellow);
    padding: 28px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 1.4
}

.service-copy > p:not(.kicker) {
    color: var(--muted);
    line-height: 1.7
}

.service-copy ul {
    padding: 0;
    margin: 30px 0;
    list-style: none
}

.service-copy li {
    border-top: 1px solid var(--line);
    padding: 17px 0;
    display: flex;
    justify-content: space-between
}

.service-copy li span {
    font-size: 12px;
    color: var(--muted);
    text-align: right
}

.offer {
    background: var(--orange);
    color: #fff;
    padding: 78px 0
}

.offer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.offer p:not(.kicker) {
    color: #ffe3d8
}

.offer .kicker {
    color: #fff2ed
}

.news {
    background: var(--paper)
}

.section-head.compact {
    align-items: end
}

.section-head.compact > a {
    font-weight: bold;
    border-bottom: 2px solid var(--yellow);
    padding-bottom: 6px
}

.news-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 24px
}

.news-grid article {
    background: #fff;
    padding-bottom: 25px
}

.news-image {
    height: 210px;
    overflow: hidden
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.news-image.technical img {
    object-position: center
}

.news-grid time, .news-grid h3, .news-grid article > a {
    display: block;
    margin-left: 22px;
    margin-right: 22px
}

.news-grid time {
    margin-top: 22px;
    color: #999;
    font-size: 11px
}

.news-grid h3 {
    font-size: 20px;
    line-height: 1.35;
    min-height: 80px
}

.news-grid article > a {
    font-size: 12px;
    font-weight: bold
}

.contacts {
    background: #1b1d1e;
    color: #fff
}

.contacts-grid {
    display: grid;
    grid-template-columns:.9fr 1.1fr;
    gap: 90px
}

.contact-main > a {
    display: block
}

.contact-main .contact-phone {
    font-size: 28px;
    font-weight: bold;
    margin: 30px 0 10px
}

.contact-main > p:not(.kicker) {
    color: #999
}

.contact-main .button {
    display: inline-flex;
    margin-top: 20px
}

.branches {
    border-top: 1px solid #454747
}

.branches article {
    display: grid;
    grid-template-columns:50px 1fr;
    padding: 20px 0;
    border-bottom: 1px solid #454747
}

.branches article > span {
    color: var(--yellow);
    font-size: 11px
}

.branches h3 {
    margin: 0 0 8px;
    font-size: 18px
}

.branches p {
    margin: 0;
    color: #999;
    font-size: 13px;
    line-height: 1.55
}

footer {
    background: #101112;
    color: #fff;
    border-top: 1px solid #333;
    padding: 35px 0
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px
}

.footer-inner img {
    width: 140px;
    filter: invert(1) grayscale(1) brightness(3)
}

.footer-inner p {
    font-size: 11px;
    color: #777;
    line-height: 1.6
}

.footer-inner div {
    display: flex;
    gap: 20px;
    font-size: 12px
}

.footer-inner > a {
    font-size: 12px;
    color: var(--yellow)
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, .75);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px
}

.modal-card {
    position: relative;
    background: #fff;
    width: min(520px, 100%);
    padding: 45px
}

.modal-close {
    position: absolute;
    right: 15px;
    top: 10px;
    background: none;
    border: 0;
    font-size: 30px;
    color: #999
}

.modal-card h2 {
    font-size: 38px;
    margin: 0 0 12px
}

.modal-card > p:not(.kicker) {
    color: var(--muted)
}

form {
    display: grid;
    gap: 14px;
    margin-top: 24px
}

label {
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: .08em
}

input {
    display: block;
    width: 100%;
    border: 1px solid #ddd;
    padding: 14px;
    margin-top: 7px;
    font-size: 15px;
    text-transform: none
}

form small {
    color: #999;
    line-height: 1.5
}

.success {
    text-align: center;
    padding: 25px 0
}

.success > b {
    display: inline-flex;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: var(--yellow);
    font-size: 28px
}

.success p {
    color: var(--muted);
    margin-bottom: 25px
}

#callback-modal {
    display: none
}

#callback-modal.visible {
    display: flex
}

[hidden] {
    display: none !important
}

@media (max-width: 1000px) {
    .nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 82px;
        display: none;
        flex-direction: column;
        background: #fff;
        padding: 20px;
        box-shadow: 0 10px 25px #0002
    }

    .nav.open {
        display: flex
    }

    .nav a {
        padding: 8px
    }

    .callback.small {
        margin-left: auto
    }

    .menu-button {
        display: block
    }

    .quick {
        grid-template-columns:1fr 1fr
    }

    .quick > :nth-child(2) {
        border-right: 0
    }

    .quick > :nth-child(-n+2) {
        border-bottom: 1px solid var(--line)
    }

    .model-grid {
        grid-template-columns:1fr 1fr
    }

    .model-card:last-child {
        grid-column: 1/3
    }

    .stats-grid, .service-grid, .contacts-grid {
        gap: 40px
    }

    .service-image {
        height: 480px
    }
}

@media (max-width: 700px) {
    .container {
        width: min(100% - 30px, 1180px)
    }

    .topbar-inner > span {
        font-size: 9px
    }

    .top-contacts span, .top-contacts a:last-child {
        display: none
    }

    .header-inner {
        height: 68px
    }

    .brand img:first-child {
        width: 120px
    }

    .brand-divider, .ural-logo {
        display: none !important
    }

    .callback.small {
        display: none
    }

    .nav {
        top: 68px
    }

    .hero {
        height: 590px
    }

    .hero-slide {
        background-position: 62% center
    }

    .hero-content {
        justify-content: flex-end;
        padding-bottom: 100px
    }

    .hero h1 {
        font-size: 58px
    }

    .hero-text {
        font-size: 16px
    }

    .hero-note {
        display: none
    }

    .slider-controls {
        bottom: 28px
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start
    }

    .quick {
        grid-template-columns:1fr
    }

    .quick > * {
        border-right: 0 !important;
        border-bottom: 1px solid var(--line) !important
    }

    .section {
        padding: 70px 0
    }

    .section-head {
        display: block
    }

    .section-head > p {
        margin-top: 20px
    }

    .model-grid {
        grid-template-columns:1fr
    }

    .model-card:last-child {
        grid-column: auto
    }

    .stats-grid, .service-grid, .contacts-grid {
        grid-template-columns:1fr
    }

    .stat-cards > div {
        padding: 22px 12px
    }

    .stat-cards b {
        font-size: 27px
    }

    .service-image {
        height: 360px
    }

    .service-grid {
        gap: 35px
    }

    .service-copy li {
        display: block
    }

    .service-copy li span {
        display: block;
        text-align: left;
        margin-top: 6px
    }

    .offer-inner {
        display: block
    }

    .offer .button {
        margin-top: 25px
    }

    .news-grid {
        grid-template-columns:1fr
    }

    .news-grid h3 {
        min-height: auto
    }

    .contacts-grid {
        gap: 55px
    }

    .footer-inner {
        align-items: flex-start;
        flex-wrap: wrap
    }

    .footer-inner div {
        order: 4;
        width: 100%
    }

    .modal-card {
        padding: 35px 24px
    }

    .modal-card h2 {
        font-size: 32px
    }
}
