:root {
    --navy: #202452;
    --navy-2: #171b43;
    --red: #ff4540;
    --muted: #707070;

    --shadow: 0 3px 14px rgba(0, 0, 0, .18);
    --shadowHover: 0 3px 45px rgba(0, 0, 0, .18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family: Arial, Helvetica, sans-serif;

    color: var(--navy);
    background: #fff;
}

.container {
    max-width: 1035px;
}


/* =====================================================
           HEADER
        ===================================================== */

.topbar {
    min-height: 66px;

    background: var(--navy);

    color: #fff;

    border-bottom: 1px solid rgba(255, 255, 255, .7);
}

.topbar .navbar-brand img {
    width: 142px;
    height: auto;
}

.topbar .nav-link {
    color: #fff;

    font-weight: 700;
    font-size: 13px;

    padding: .45rem .75rem;
}

.topbar .nav-link:hover {
    color: var(--red);
}

.phone {
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.address {
    font-size: 11px;
    margin-top: 4px;
}


/* =====================================================
           HERO
        ===================================================== */

.hero {
    position: relative;

    min-height: 405px;

    background: var(--navy);

    color: #fff;

    overflow: hidden;
}


.hero-copy {
    position: relative;
    z-index: 2;

    min-height: 405px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 35px 30px 35px 0;
}

.hero h1 {
    margin: 0;

    font-size: 35px;
    line-height: 1.05;

    font-weight: 900;

    text-transform: uppercase;
}

.hero h1 span {
    color: var(--red);
}

.hero-copy>p {
    max-width: 470px;

    margin: 15px 0 30px;

    font-size: 14px;
    line-height: 1.35;

    color: #fff;
}


/* Иконки преимуществ */

.hero-points {
    display: flex;
    align-items: flex-start;

    gap: 28px;
}

.hero-point {
    /* width: 100px; */

    text-align: center;

    font-size: 14px;
    line-height: 1.3;

    color: #fff;
}

.hero-point i {
    display: block;

    margin-bottom: 8px;

    font-size: 40px;
    line-height: 1;

    color: var(--red);
}



.hero-photo {
    position: absolute;

    top: 0;
    right: 0;

    width: 45%;
    height: 100%;

    background-image: url("../img/hero.png");

    background-repeat: no-repeat;

    background-position: left center;

    background-size: cover;
}

.hero-photo::before,
.hero-photo::after {
    display: none;

    content: none;
}


/* =====================================================
           SERVICES
        ===================================================== */

.services {
    padding: 16px 0 45px;
}

.section-title {
    text-align: center;

    font-weight: 900;

    text-transform: uppercase;

    margin: 0;
}

.section-kicker {
    color: var(--red);

    font-size: 14px;

    font-weight: 900;

    text-transform: uppercase;
}

.services h2 {
    font-size: 20px;

    margin: 4px 0 32px;
}

.services h3 {
    font-size: 18px;

    margin: 0 0 28px;
}


/* Карточка услуги */

.service-card {
    border-radius: 1vh;
    position: relative;

    height: 165px;
    transition: all ease .3s;
    padding: 0 18px 13px 20px;

    background: #fff;

    border-left: 4px solid var(--red);

    box-shadow: var(--shadow);
}

.service-card:hover {
    transition: all ease .3s;
    box-shadow: var(--shadowHover);
}

.service-icon {
    width: 46px;
    height: 46px;

    flex: 0 0 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: var(--navy);

    color: #fff;

    font-size: 27px;
}

.service-card h4 {
    font-size: 14px;

    font-weight: 800;

    margin: 2px 0 8px;
}

.service-card p {
    font-size: 12px;

    line-height: 1.25;

    color: var(--muted);

    margin: 0 0 6px;
}

.service-card ul {
    list-style: none;

    padding: 0;
    margin: 0;

    color: #686868;

    font-size: 12px;

    line-height: 1.35;
}

.service-card li::before {
    content: "✓";

    color: var(--red);

    font-weight: 900;

    margin-right: 4px;
}

.service-num {
    position: absolute;
    display: none;
    left: 17px;
    bottom: 9px;

    color: #888;

    font-size: 13px;
}


/* =====================================================
           WHY
        ===================================================== */

.why {
    position: relative;

    padding: 20px 0 45px;

    background: var(--navy-2);

    color: #fff;

    overflow: hidden;
}

.why::after {
    content: "";

    position: absolute;

    inset: 0;

    opacity: .16;

    background-image:
        radial-gradient(circle at 20% 70%,
            #5a6dc9 0 3px,
            transparent 4px),
        radial-gradient(circle at 70% 30%,
            #5a6dc9 0 4px,
            transparent 5px);

    background-size:
        140px 110px,
        180px 150px;
}

.why>* {
    position: relative;

    z-index: 1;
}

.why h2 {
    font-size: 18px;

    margin: 3px 0 25px;
}

.why-grid {
    display: grid;

    grid-template-columns: repeat(5, 1fr);
}

.why-item {
    padding: 8px 17px;

    text-align: center;

    border-right: 1px solid rgba(255, 255, 255, .35);
}

.why-item:last-child {
    border-right: 0;
}

.why-item i {
    font-size: 35px;

    color: var(--red);
}

.why-item h4 {
    font-size: 13px;

    font-weight: 800;

    margin: 7px 0 4px;
}

.why-item p {
    font-size: 9.5px;

    line-height: 1.3;

    color: #ddd;

    margin: 0;
}


/* =====================================================
           STATS
        ===================================================== */

.stats {
    padding: 42px 0 48px;
}

.stat {
    display: flex;

    align-items: center;

    gap: 14px;
}

.stat i {
    font-size: 48px;

    color: var(--navy);
}

.stat strong {
    display: block;

    font-size: 26px;

    color: var(--red);
}

.stat span {
    display: block;

    font-size: 10px;

    color: #666;

    line-height: 1.2;
}


/* =====================================================
           CTA
        ===================================================== */

.cta {
    padding: 42px 0;

    background: var(--navy);

    color: #fff;
}

.cta h2 {
    font-size: 23px;

    font-weight: 900;

    margin: 0 0 10px;
}

.cta p {
    font-size: 15px;

    line-height: 1.3;

    margin: 0;
}

.form-box {
    padding: 18px;

    background: #fff;

    border-radius: 6px;

    box-shadow: 0 4px 18px rgba(0, 0, 0, .35);
}

.form-box .form-control {
    height: 38px;

    font-size: 11px;
}

.btn-red {
    height: 38px;

    background: var(--red);

    border-color: var(--red);

    color: #fff;

    font-size: 11px;

    font-weight: 700;
}

.btn-red:hover {
    background: #e93632;

    border-color: #e93632;

    color: #fff;
}


/* =====================================================
           FOOTER
        ===================================================== */

.footer {
    padding: 27px 0 25px;

    background: var(--navy);

    color: #fff;

    text-align: center;

    border-top: 1px solid #fff;
}

.footer img {
    width: 150px;

    margin-bottom: 12px;
}

.footer p {
    font-size: 10px;

    line-height: 1.45;

    margin: 0;
}


/* =====================================================
           TABLET
        ===================================================== */

@media (max-width: 991.98px) {

    .topbar {
        height: auto;
    }

    .phone-wrap {
        text-align: left;

        margin-top: 8px;
    }


    /* HERO */

    .hero {
        min-height: auto;
    }

    .hero .container {
        max-width: 100%;
    }

    .hero-copy {
        min-height: auto;

        padding: 40px 15px;
    }

    .hero h1 {
        font-size: 30px;
    }

    /*
             * На планшете фотография становится обычным
             * блоком под текстом.
             */

    .hero-photo {
        position: relative;

        top: auto;
        right: auto;

        width: 100%;
        height: 330px;

        background-position: center;

        background-size: cover;
    }


    /* WHY */

    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-item:nth-child(3) {
        border-right: 0;
    }
}


/* =====================================================
           MOBILE
        ===================================================== */

@media (max-width: 767.98px) {

    .topbar .navbar-brand img {
        width: 125px;
    }

    .phone {
        font-size: 18px;
    }


    /* HERO */

    .hero h1 {
        font-size: 27px;
    }

    .hero-copy>p {
        font-size: 13px;
    }

    .hero-points {
        display: grid;

        grid-template-columns: repeat(2, 1fr);

        gap: 20px 10px;
    }

    .hero-point {
        width: auto;
    }


    /* SERVICES */

    .service-card {
        height: auto;
        min-height: 175px;
    }



    /* WHY */

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-item {
        border-bottom: 1px solid rgba(255, 255, 255, .25);
    }

    .why-item:nth-child(2n) {
        border-right: 0;
    }


    /* STATS */

    .stat {
        justify-content: center;

        margin-bottom: 22px;
    }


    /* CTA */

    .cta {
        text-align: center;
    }

    .form-box {
        margin-top: 25px;
    }
}


/* =====================================================
           SMALL MOBILE
        ===================================================== */

@media (max-width: 575.98px) {

    .hero-copy {
        padding: 32px 15px;
    }

    .hero h1 {
        font-size: 27px;
    }

    .hero-photo {
        height: 230px;

        background-position: center;
    }


    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-item {
        border-right: 0;
    }
}

/* =====================================================
   ОБСЛУЖИВАНИЕ ОРГАНИЗАЦИЙ
   ===================================================== */

.maintenance {
    padding: 55px 0 60px;
    background: #fff;
}

.maintenance .section-kicker {
    margin-bottom: 5px;
}

.maintenance h2 {
    margin: 0 0 35px;
    font-size: 20px;
    line-height: 1.2;
}

.maintenance-intro {
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
    font-size: 13px;
    line-height: 1.45;
    color: var(--muted);
}

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

.maintenance-card {
    position: relative;
    min-height: 285px;
    padding: 28px 25px 25px;
    background: #fff;
    border-left: 4px solid var(--red);
    border-radius: 1vh;
    box-shadow: var(--shadow);
}

.maintenance-card__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 10px;
    background: var(--navy);
    color: #fff;
    font-size: 28px;
}

.maintenance-card h3 {
    margin: 0 0 12px;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 800;
    color: var(--navy);
}

.maintenance-card p {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: var(--muted);
}

.maintenance-card ul {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
    font-size: 11px;
    line-height: 1.45;
    color: #686868;
}

.maintenance-card li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 5px;
}

.maintenance-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--red);
    font-weight: 900;
}

.maintenance-card__number {
    position: absolute;
    right: 20px;
    bottom: 15px;
    font-size: 13px;
    color: #999;
}

.maintenance-types {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 18px;
}

.maintenance-type {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 4px 9px;
    border-radius: 20px;
    background: rgba(32, 36, 82, .08);
    color: var(--navy);
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
}



@media (max-width: 991.98px) {
    .maintenance {
        padding: 45px 0 50px;
    }

    .maintenance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .maintenance {
        padding: 40px 0 45px;
    }

    .maintenance h2 {
        font-size: 18px;
        margin-bottom: 25px;
    }

    .maintenance-intro {
        font-size: 12px;
        margin-bottom: 25px;
    }

    .maintenance-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .maintenance-card {
        min-height: 0;
        padding: 22px 20px 24px;
    }

    .maintenance-card h3 {
        font-size: 15px;
    }
}

@media (max-width: 575.98px) {
    .maintenance {
        padding: 35px 0 40px;
    }

    .maintenance-card {
        padding: 20px 18px 22px;
    }
}

/* =====================================================
   АРЕНДА ТЕХНИКИ
   ===================================================== */

.equipment-rental {
    padding: 55px 0 60px;
    background: #f7f7f9;
}

.equipment-rental .section-kicker {
    margin-bottom: 5px;
}

.equipment-rental h2 {
    margin: 0 0 35px;
    font-size: 20px;
    line-height: 1.2;
}

.equipment-rental__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.equipment-card {
    position: relative;
    min-height: 170px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 25px;
    background: #fff;
    border-left: 4px solid var(--red);
    border-radius: 1vh;
    box-shadow: var(--shadow);
}

.equipment-card__icon {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--navy);
    font-size: 31px;
    line-height: 1;
}

.equipment-card__content {
    min-width: 0;
}

.equipment-card h3 {
    margin: 2px 0 11px;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 800;
    color: var(--navy);
}

.equipment-card p {
    margin: 0;
    font-size: 11px;
    line-height: 1.45;
    color: var(--muted);
}

.equipment-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 11px;
    line-height: 1.55;
    color: #686868;
}

.equipment-card li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 4px;
}

.equipment-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--red);
    font-weight: 900;
}

@media (max-width: 767.98px) {
    .equipment-rental {
        padding: 40px 0 45px;
    }

    .equipment-rental h2 {
        font-size: 18px;
        margin-bottom: 25px;
    }

    .equipment-rental__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .equipment-card {
        min-height: 0;
        padding: 21px 20px;
    }
}

@media (max-width: 575.98px) {
    .equipment-card {
        gap: 15px;
        padding: 19px 17px;
    }

    .equipment-card__icon {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
        font-size: 27px;
    }

    .equipment-card h3 {
        font-size: 15px;
    }
}

/* Минималистичный блок контактов в шапке */
.phone-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    transition: color .2s ease;
}

.phone i {
    font-size: 13px;
    color: var(--red);
}

.phone:hover {
    color: var(--red);
}

.address {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    margin-top: 3px;
    color: white;
    font-size: 12px;
    line-height: 1.4;
}

.address i {
    color: var(--red);
    font-size: 12px;
}

@media (max-width: 991.98px) {
    .phone-wrap {
        align-items: flex-start;
        margin-top: 12px;
    }

    .address {
        justify-content: flex-start;
    }
}

/* ============================================================
   ЛИЦЕНЗИИ И СЕРТИФИКАТЫ
   Стили страницы licenses.html
   ============================================================ */
.documents-page {
    padding: 90px 0 80px;
    background: #f7f7f8
}

.documents-header {
    max-width: 760px;
    margin: 0 auto 50px;
    text-align: center
}

.documents-header__label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase
}

.documents-header h1 {
    margin-bottom: 16px;
    color: var(--navy);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700
}

.documents-header p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7
}

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

.document-card {
    display: flex;
    flex-direction: column;
    min-height: 300px;
    padding: 28px;
    background: #fff;
    border-left: 3px solid var(--red);
    border-radius: 1vh;
    box-shadow: var(--shadow)
}

.document-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 22px;
    color: var(--red);
    background: rgba(255, 69, 64, .08);
    border-radius: 50%;
    font-size: 21px
}

.document-card h2 {
    margin-bottom: 12px;
    color: var(--navy);
    font-size: 20px;
    font-weight: 700
}

.document-card__description {
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6
}

.document-card__meta {
    margin: auto 0 22px;
    padding-top: 18px;
    border-top: 1px solid #ededed
}

.document-card__meta-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 5px 0;
    color: var(--muted);
    font-size: 13px
}

.document-card__meta-row strong {
    color: var(--navy);
    font-weight: 600;
    text-align: right
}

.document-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    padding: 10px 16px;
    color: #fff;
    background: var(--navy);
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background .2s ease, transform .2s ease
}

.document-card__button:hover {
    color: #fff;
    background: var(--red);
    transform: translateY(-1px)
}

.documents-note {
    max-width: 760px;
    margin: 42px auto 0;
    padding: 20px 24px;
    color: var(--muted);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
    font-size: 13px;
    line-height: 1.6;
    text-align: center
}

@media(max-width:991.98px) {
    .documents-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:575.98px) {
    .documents-page {
        padding: 60px 0
    }

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

    .document-card {
        padding: 24px
    }
}