@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

body {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size: 14px;
}

.container {
    max-width: 970px;
    padding: 0 15px;
    margin: 0 auto;
}

p {
    color: black;
    line-height: 1.8;
}

.hide {
    display: none !important;
}


.title-wrapper {
    margin-bottom: 60px;
}

.title {
    margin-bottom: 16px;
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #525252;
}

.subtitle {
    font-size: 17px;
    line-height: 1.2;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #a0a0a0;
}


.common-section {
    text-align: center;
    padding: 80px 0;
}

.common-section--dark {
    background-color: #252525;
}

.common-section--dark * {
    color: #fff;
}

.common-section--dark .subtitle {
    color: #a0a0a0;
}

/* Отдельные элементы */

.header {
    padding: 20px 0;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    z-index: 100;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 25px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #000000;
}

.header__nav ul {
    display: flex;
}

.header__nav li + li {
    margin-left: 40px;
}


.header__nav a {
    font-size: 16px;
    color: #000000;
    transition: color 0.2s;
}

.header__nav a:hover {
    color: #a0a0a0;
}

.header__nav a:active {
    color: #525252;
}

.velcome {
    min-height: 600px;
    height: 100vh;
    padding: 195px 0;
    display: flex;
    justify-content: center;
    align-items: center;;
    color: white;
    text-align: center;
    background-color: #252525;
    background-image: url('image/Welcome-bg.jpg');
    background-size: cover;
    background-position: center;

}

.velcome__heading {
    margin-bottom: 100px;
    font-size: 60px;
    line-height: 1;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.welcome__links > * + * {
    margin-left: 20px;
}

.link-primary {
    display: inline-block;
    padding: 11px 30px;
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background-color: #000000;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.link-primary:hover {
    background-color: #525252;
}

.link-primary:active {
    background-color: #252525;
}


.link {
    display: inline-block;
    padding: 10px 30px;
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid white;
    border-radius: 4px;
    transition: border-color 0.2s, background-color 0.2s;
}

.link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.link:active {
    background-color: rgba(0, 0, 0, 0.1);
        border-color: rgba(0, 0, 0, 0.4);
}

.about .cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.about .card {
    padding: 30px 15px 25px;
    max-width: 300px;
    border: 1px solid #a0a0a0;
    border-radius: 5px;
}

.about .card img {
    width: 94px;
    height: 94px;
    object-fit: contain;
    margin-bottom: 15px;
}

.about .card h4 {
    margin-bottom: 15px;
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: 7px;
    text-transform: uppercase;
    color: #525252;
}

.services .cards-wrapper {
    display: flex;
    justify-content: space-between;
}

.services .card {
    width: 45%;
}

.services .card img {
    margin-bottom: 20px;
}

.services .card h4 {
    margin-bottom: 15px;
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: 7px;
    text-transform: uppercase;
    color: #a0a0a0;
}

.services .link {
    margin-top: 15px;
}

.tabs__nav {
    margin: 50px 0;
}

.tabs__nav button + button {
    margin-left: 15px;
}


.tabs__nav button {
    padding: 0 30px;
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    background-color: #a0a0a0;
    border-radius: 4px;
}

.tabs__nav button:hover {
    background-color: #525252;
}

.tabs__nav button.active {
    background-color: #000;
}

.tabs__item {
    animation: fade 1s;
}

@keyframes fade {
    from {
        opacity: 0.3;
    }
    to {
        opacity: 1;
    }
}

.tabs__item img {
    margin-bottom: 15px;
}

.tabs__item h4 {
    margin-bottom: 15px;
    font-size: 30px;
    line-height: 35px;
    color: #525252;
}

.tabs__desc {
    max-width: 610px;
    margin: auto;
}

.tabs__desc p {
    color: #525252;
}

.footer__desc {
    padding: 35px 0;
}

.footer__desc h4 {
    margin-bottom: 25px;
    font-size: 18px;
    line-height: 1;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #525252;
}

.footer__desc-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px 40px;
}

.footer__desc-container > * {
    width: 30%;
    min-width: 220px;
}

.footer__desc a {
    font-size: 14px;
    color: #252525;
    transition: color 0.2s;
}

.footer__desc a:hover {
    color: #a0a0a0;
}

.footer__desc a:active {
    color: #525252;
}


.footer__desc li {
    position: relative;
    height: 30px;
}

.footer__desc li::before {
    content: "";
    width: 100%;
    height: 1px;
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: #a0a0a0;
}

.footer__social li::before {
    width: calc(100% - 34px);
}

.footer__desc li + li {
    margin-top: 5px;
}

.footer__social img {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    object-fit: contain; 
}

.footer__copy {
    text-align: center;
    padding: 40px 0;
    background-color: #252525;
}

.footer__copy p {
    color: #525252;
}

@media (max-width: 830px) {
    .footer__desc-container {
        justify-content: space-evenly;
    }
    .footer__desc h4 {
        margin-bottom: 15px;
    }
    .footer__desc {
        padding-top: 0;
    }
}

@media (max-width: 660px) {
    .tabs__nav {
        margin-bottom: 30px ;
    }
    .tabs__nav button {
        display: block;
        margin: 0 auto;
        padding: 10px 30px;
    }
    .tabs__nav button + button {
        margin-top: 10px;
        margin-left: auto;
    }
}

@media (max-width: 600px) {
    .services .cards-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    .services .card {
        width: 80%;
    }
    .title-wrapper {
        margin-bottom: 40px;
    }
    .services .card h4 {
        font-size: 20px;
    }
}

@media (max-width: 400px) {
    .header__nav li + li {
        margin-left: 15px;
    }
    .welcome__heading {
        font-size: 40px;
        margin-bottom: 50px;
    }
    .welcome__links a {
        display: block;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
    .welcome__links > * + * {
        margin: 0;
        margin-top: 20px;
    }
    body {
        font-size: 12px;
    }
    .about .card h4 {
        font-size: 16px;
    }
    .services .card .link {
        font-size: 14px;
    }
    .tabs__item h4 {
        font-size: 24px;
    }
}
