/*
Theme Name: My Starter Theme
Description: Стартовая тема для доработки
Author: Ваше имя
Version: 1.0
*/

/* #26ad5e = зеленый */
/* #eff5f9 = серый фон */
/* #212121 = текст */

@font-face {
  font-family: "MuseoSansCyrl";
  font-style: normal;
  font-weight: 300;
  src: url("font/MuseoSansCyrl-300.woff2") format("woff2");
}

@font-face {
  font-family: "MuseoSansCyrl";
  font-style: normal;
  font-weight: 500;
  src: url("font/MuseoSansCyrl-500.woff2") format("woff2");
}

@font-face {
  font-family: "MuseoSansCyrl";
  font-style: normal;
  font-weight: 700;
  src: url("font/MuseoSansCyrl-700.woff2") format("woff2");
}

@font-face {
  font-family: "MuseoSansCyrl";
  font-style: normal;
  font-weight: 900;
  src: url("font/MuseoSansCyrl-900.woff2") format("woff2");
}



table.has-fixed-layout tbody tr:first-child {
  background: #26ad5e;
  color: #fff !important;
}

table.has-fixed-layout tbody tr:first-child td {
    color: #fff !important;
    border-color: #000;
}

table.has-fixed-layout tbody tr:not(:first-child):nth-child(even) {
  background: #EFF8F3;
}


* {
    margin: 0;
    padding: 0;
    list-style-type: none;
    text-decoration: none;
    box-sizing: border-box;
    font-family: 'Museo Sans', sans-serif;
    font-family: 'MuseoSansCyrl', sans-serif;
    color: #212121;
}

.modal__content {
    margin-top: 20px;
    width: 50%;
    padding: 20px;
    border: 5px solid #26ad5e;
    border-radius: 5px;
}

.form-subtitle {
    margin-bottom: 20px;
    font-size: 20px;
}

.telegram-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.telegram-form input {
    outline: none;
    padding: 10px;
}

section {
    padding: 0 100px;
}

header {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 900;
    background: #fff;
}

.header-top, nav ul {
    padding: 10px 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #26ad5e;
}

.header-top {
    padding: 25px 100px;
}

.logo-link-wrap {
    display: flex;
    align-items: center;
}

.logo-name {
    font-weight: 900;
    font-size: 30px;
}

.logo-descr {
    margin-top: 5px;
    font-size: 10px;
    width: 60%;
}

.header-text {
    width: 300px;
    font-size: 12px;
}

.header-text p {
    font-weight: 900;
}

.tell .wrap {
    display: flex;
    align-items: center;
}

.tell .wrap .logo {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.screen {
    position: relative;
    padding-bottom: 100px;
}

.screen h1 {
    width: 50%;
    padding: 25px 0;
    font-size: 40px;
    font-weight: 900;
    line-height: 1.2;
}

.screen .subtitle {
    font-size: 25px;
}

.screen .img {
    position: absolute;
    bottom: 0;
    right: 100px;
    width: 455px;
    min-height: 400px;
    background: url(../img/screen-man.png) center center / cover no-repeat;
}

nav, nav a {
    background: #eff5f9;
    color: #212121;
    font-size: 20px;
    font-weight: 900;
}

.logo {
    width: 50px;
    height: 50px;
    /*background: url(../img/logo.png) left center / contain no-repeat;*/
}

.contact-btn {
    display: inline-block;
    cursor: pointer;
    background: linear-gradient(180deg, #FFC837 1.96%, #FF6F01 99.37%);
    box-shadow: 0 6px 14px rgba(224, 107, 0, 0.597547);
    border: 0;
    border-radius: 27px;
    padding: 16.5px 35px;
    color: #fff !important;
    text-decoration: none !important;
    text-align: center;
    font-weight: 900;
    font-size: 16px;
    transition-property: background, box-shadow;
    transition-duration: .2s;
}

.contact-btn:hover, .btn:focus, .btn-reverse:hover, .btn.active {
    background: linear-gradient(180deg, #ffe297 1.96%, #e07804 99.37%);
    box-shadow: 0 10px 14px rgba(224, 107, 0, 0.551546);
}

.screen {
    background: url(../img/screen.webp) center center/cover no-repeat;
}

.perks {
    padding: 25px 100px;
    display: flex;
    justify-content: space-between;
    background: #eff5f9;
}

.perks .item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.perks .item .img {
    width: 100px; 
    height: 100px;
}

.perks .item p {
    margin-top: 20px;
    font-size: 15px;
    font-weight: 900;
}

.uslugi {
    text-align: center;
}

.uslugi h2 {
    font-size: 40px;
    margin: 20px auto;
}

.uslugi p {
    font-size: 25px;
}

.uslugi-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin: 20px 0;
}

.uslugi-item {
    position: relative;
    width: 250px;
    height: 150px;
    border-radius: 20px;
    overflow: hidden;
    background: #eff5f9;
}

.uslugi-item h3 {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 10;
    color: #212121;
    background: #26ad5e9c;
    padding: 5px;
    border-radius: 20px;
}

.uslugi-item .img {
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.bezopasnost {
    text-align: center;
    padding: 150px 0;
    height: 800px;
    background: url(../img/bezopasnost.jpg) center center/cover no-repeat;
}

.bezopasnost h2 {
    font-size: 30px;
}

.bezopasnost .subtitle {
    font-size: 20px;
    font-weight: 900;
    margin-top: 10px;
}

.bezopasnost-wrap {
    display: flex;
    justify-content: space-between;
}

.bezopasnost-item {
    width: 25%;
}

.bezopasnost-item .img {
    width: 150px;
    height: 150px;
    margin: 20px auto;
    border-radius: 50%;
    border: 3px solid #26ad5e;
}

.bezopasnost .contact-btn {
    margin-top: 100px;
}

.shema {
    text-align: center;
    padding: 100px;
}

.shema h2 {
    font-size: 40px;
}

.shema-wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.shema-item {
    width: 30%;
}

.shema-item .num {
    color: #eff5f9;
    font-weight: 900;
    font-size: 200px;
}

.shema-item p {
    font-size: 20px;
    margin-top: 20px;
    font-weight: 900;
}

.objekt {
    text-align: center;
}

.objekt h2 {
    font-size: 30px;
}

.objekt-wrap {
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.objekt-item {
    position: relative;
    padding: 10px;
    width: calc(100% / 6);
    width: 195px;
    height: 160px;
    border-radius: 10px;
    overflow: hidden;
}

.objekt-item p {
    bottom: 20px;
    text-align: left;
    position: absolute;
    z-index: 10;
    font-weight: 900;
    color: #fff;
}

.objekt-item .shadow {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.202961) 2.29%, rgba(31, 31, 31, 0.803076) 96.13%);
    transition-property: opacity, visibility;
    transition-duration: .2s;
}

.price {
    text-align: center;
    padding: 150px 100px;
    height: 800px;
    background: url(../img/bezopasnost.jpg) center center/cover no-repeat;
}

.price h2 {
    font-size: 30px;
}

.price .subtitle {
    font-size: 20px;
    font-weight: 900;
    margin: 20px auto;
}

.price-wrap {
    display: flex;
    justify-content: space-between;
}

.price-item {
    width: 50%;
}

.price-item .subtitle {
    margin: 20px auto;
}

.price-item .img {
    width: 100px;
    height: 100px;
    margin: 10px auto;
}

.text-section {
    padding: 100px;
}

.text-section p, .text-section ul {
    margin: 20px 0;
}

footer {
    width: 100%;
    padding: 50px 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #eff5f9;
}

footer .img {
    width: 50px;
    height: 50px;
    /*background: url(../img/logo.png) center center/contain no-repeat;*/
}

/* POPUP*/

.popup {
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    height: 100vh;
    display: none;
    z-index: 999;
    background: #0000009e;
    justify-content: space-around;
    align-items: center;
}

.active {
    display: flex;
}

.popup .modal__content {
    position: relative;
    background: #fff;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255,255,255,.9);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,.3);
}

.popup-close svg {
    width: 18px;
    height: 18px;
    stroke: #333;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* МОБИЛКА */

@media (max-width: 800px) {
    .screen {
        margin-top: 100px;
    }
    
    
    .popup .modal__content {
        width: 90%;
    }
    
    .header-top {
        padding: 25px 5px;
    }

    .header-logo {
        width: 50px;
    }

    .tell {
        display: none;
    }

    section {
        padding: 0 5px;
    }

    .header-top, nav ul {
        padding: 10px 5px;
    }

    .screen h1 {
        width: 100%;
    }

    .modal__content {
        width: 100%;
    }

    .screen .img {
        display: none;
    }

    .perks {
        padding: 25px 5px;
        flex-wrap: wrap;
        gap: 20px;
    }

    .perks .item {
        width: 45%;
        text-align: center;
    }

    .perks .item .img {
        width: 50px; 
        height: 50px;
    }

    .uslugi h2 {
        font-size: 30px;
        text-align: left;
    }

    .uslugi p {
        font-size: 20px;
        text-align: left;
    }

    .uslugi-wrap {
        justify-content: space-around;
    }

    .uslugi-item {
        width: 100%;
    }

    .bezopasnost {
        padding: 110px 0;
    }

    .bezopasnost .subtitle {
        font-size: 15px;
    }

    .bezopasnost-wrap {
        flex-wrap: wrap;
    }

    .bezopasnost-item {
        width: 50%;
    }

    .bezopasnost-item .img {
        width: 100px;
        height: 100px;
    }

    .bezopasnost .contact-btn {
        margin-top: 20px;
    }

    .shema {
        padding: 100px 5px;
    }

    .shema-item {
        width: 100%;
    }

    .shema-item .num {
        font-size: 100px;
    }

    .objekt-item {
        width: 100%;
    }

    .price {
        height: 900px;
        padding: 150px 5px;
    }

    .price-item .img {
        width: 50px;
        height: 50px;
        margin: 0 auto;
    }

    .text-section {
        padding: 20px 5px;
    }

    footer {
        flex-direction: column;
        text-align: center;
        padding: 50px 5px;
    }

    .footer-links {
        margin: 20px 0;
    }
}