* {
    padding: 0;
    margin: 0;
    border: 0;
}

*,
*:before,
*:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

:focus,
:active {
    outline: none;
}

a:focus,
a:active {
    outline: none;
}

aside,
nav,
footer,
header,
section {
    display: block;
}



input,
button,
textarea {
    font-family: inherit;
    font-size: inherit;
}

input::-ms-clear {
    display: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    background-color: inherit;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

a,
a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

a {
    color: inherit;
}

ul li {
    list-style: none;
}

img {
    vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: inherit;
    font-size: inherit;
}

@font-face {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 900;
    src: local("Montserrat"), url("fonts/Montserrat-Black.ttf") format("truetype");
}

@font-face {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 700;
    src: local("Montserrat"), url("fonts/Montserrat-Bold.ttf") format("truetype");
}

@font-face {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 600;
    src: local("Montserrat"), url("fonts/Montserrat-SemiBold.ttf") format("truetype");
}

@font-face {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 500;
    src: local("Montserrat"), url("fonts/Montserrat-Medium.ttf") format("truetype");
}

@font-face {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 400;
    src: local("Montserrat"), url("fonts/Montserrat-Regular.ttf") format("truetype");
}

@font-face {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 300;
    src: local("Montserrat"), url("fonts/Montserrat-Light.ttf") format("truetype");
}

body {
    line-height: 1;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    overflow-x: hidden;
    color: #1c1c1d;
    height: 100%;

}
.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main {
    flex: 1 1 auto;
}
.container {
    max-width: 1830px;
    margin: 0 auto;
    padding: 0px 1rem;
}

.formatted-number {
    display: none;
}

.error {
    margin-top: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.error-body__numbers {
    text-align: center;
    margin-bottom: 100px;

}

.error-body__text {
    font-weight: 500;
    font-size: 52px;
    line-height: 63.39px;
    margin-bottom: 63px;
    text-align: center;
}

.error-body__link {
    font-weight: 500;
    font-size: 17px;
    color: #fff;
    padding: 19px 61px;
    transition: 0.3s;
    background: #e17a44;


    display: inline-block;
    max-width: 688px;
    width: 100%;
    text-align: center;
    margin-bottom: 100px;
}
.error-body__link:hover {
    background: #e55c14;
}
.body-lock {
    overflow: hidden;
}
@media(max-width: 768px) {
    .error-body__numbers img{
        width: 100%;
        object-fit: cover;
    }
}

@media (max-width: 654px) {
    .error {
        margin-top: 52px;
    }
    .error-body__text {
        font-weight: 500;
        font-size: 18px;
        text-align: start;
        margin-bottom: 20px;
    }
    .error-body__numbers {
        margin-bottom: 40px;
    }
    .error-body__link {
        text-transform: uppercase;
        width: 100%;
        font-size: 12px;
    }
}





/* Баннер как на странице Галереи */
.page-banner {
    position: relative;
    padding: 200px 0 100px;
    text-align: center;
    overflow: hidden;
}

.page-banner__title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    position: relative;
    z-index: 2;
}

.page-banner__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-banner__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-banner__bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

/* Контент с текстом */
.privacy-content {
    padding: 80px 0;
    background: #fff;
}

.privacy-content__inner {
    max-width: 1000px;
    margin: 0 auto;
}

/* Стили текста */
.privacy-content__inner h2 {
    font-size: 28px;
    margin: 1.5em 0 0.5em;
    color: #1a1a1a;
}

.privacy-content__inner h3 {
    font-size: 22px;
    margin: 1.2em 0 0.5em;
    color: #333;
}

.privacy-content__inner p {
    line-height: 1.6;
    margin-bottom: 1em;
    color: #444;
}

.privacy-content__inner ul,
.privacy-content__inner ol {
    margin: 0 0 1em 20px;
    line-height: 1.6;
}

.privacy-content__inner li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .page-banner {
        padding: 150px 0 60px;
    }
    
    .page-banner__title {
        font-size: 32px;
    }
    
    .privacy-content {
        padding: 40px 0;
    }
}

/* Скрыть все, что выше шаблона */
.wrapper-home > :not(.header):not(main):not(.privacy-policy-page) {
    display: none;
}